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 }} &&