Skip to content

Commit

Permalink
delete staging before creating new branch
Browse files Browse the repository at this point in the history
  • Loading branch information
binni979 committed Jul 10, 2024
1 parent 8b663e1 commit 9bb44ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/banner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
run: |
git fetch
if git show-ref --verify --quiet refs/remotes/origin/staging; then
git branch -D staging
git checkout staging
git reset --hard origin/staging
# git branch -D staging
# git push origin --delete staging
fi
git checkout -b staging
Expand Down

0 comments on commit 9bb44ca

Please sign in to comment.