Skip to content

Commit

Permalink
Update deployment script to reset local branch to origin/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Revulate committed Oct 13, 2024
1 parent aa75c6c commit 6050cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
if [ -d ".git" ]; then
git fetch origin
git checkout main
git pull origin main
git reset --hard origin/main
else
git clone --branch main $REPO_URL .
fi
Expand Down

0 comments on commit 6050cb6

Please sign in to comment.