From 46ad2bf92aee716dc444b7fc0017424d713e0e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A1=B0=ED=95=98=EB=8B=B4?= Date: Fri, 29 Dec 2023 14:07:18 +0900 Subject: [PATCH] Fetch all branches from remote repository --- .github/workflows/deploy-test-with-github-hosted-runner.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-test-with-github-hosted-runner.yml b/.github/workflows/deploy-test-with-github-hosted-runner.yml index 286b2864..53497f13 100644 --- a/.github/workflows/deploy-test-with-github-hosted-runner.yml +++ b/.github/workflows/deploy-test-with-github-hosted-runner.yml @@ -36,6 +36,7 @@ jobs: cp ~/config-injection/ecosystem-${{ env.SERVER_PROFILE }}.json ${{ env.PROJECT_PATH }}/ecosystem.json && cp ~/config-injection/envs/.env.${{ env.NODE_ENV }} ${{ env.PROJECT_PATH }}/.env && cd ${{ env.PROJECT_PATH }} && + git fetch --all && git checkout ${{ env.BRANCH_NAME }} && git reset --hard origin/${{ env.BRANCH_NAME }} && git pull origin ${{ env.BRANCH_NAME }} &&