From de492f978e7c01c703f9c406b4655a168fd3ffa9 Mon Sep 17 00:00:00 2001 From: Gensollen Date: Mon, 27 May 2024 17:48:24 +0200 Subject: [PATCH] [CI] Fix wrong folder name when deploying doc (#1193) --- .github/workflows/build_and_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 2939c8f07..73414e3f4 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -44,7 +44,7 @@ jobs: echo "${{ github.head_ref }}" if [[ ! -z "${{ github.event_number }}" ]]; then - BRANCH_NAME="${{ github.head_ref }}" + BRANCH_NAME="${{ github.ref_name }}" fi mv site "${BRANCH_NAME}" ls "${BRANCH_NAME}"