From 53e05971c2e6282c6e852bab9db6652df034eacc Mon Sep 17 00:00:00 2001 From: Alexander Bandukwala <7h3kk1d@gmail.com> Date: Tue, 20 Aug 2024 15:56:28 -0400 Subject: [PATCH] Fix branch name in sparse checkout --- .github/workflows/deploy_branches.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_branches.yml b/.github/workflows/deploy_branches.yml index 99618f8459..e4ca7fca0d 100644 --- a/.github/workflows/deploy_branches.yml +++ b/.github/workflows/deploy_branches.yml @@ -51,7 +51,7 @@ jobs: token: ${{ secrets.ACCESS_TOKEN }} path: server sparse-checkout: | - ${BRANCH_NAME} + ${{ env.BRANCH_NAME }} - name: Clear any old build of this branch run: if [ -d "${BRANCH_NAME}" ] ; then rm -rf "${BRANCH_NAME}" ; fi working-directory: ./server