Skip to content

Commit

Permalink
Fetch all branches from remote repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoHadam committed Dec 29, 2023
1 parent 6fad7b8 commit 3105f07
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
cp ~/config-injection/envs/.env.${{ env.NODE_ENV }} ${{ env.PROJECT_PATH }}/.env &&
cd ${{ env.PROJECT_PATH }} &&
git checkout ${{ env.BRANCH_NAME }} &&
git fetch --all &&
git reset --hard origin/${{ env.BRANCH_NAME }} &&
git pull origin ${{ env.BRANCH_NAME }} &&
bash script/prebuild.sh &&
Expand Down

0 comments on commit 3105f07

Please sign in to comment.