🔄 Add git pull command and force push options in pre-deploy workflow

This commit is contained in:
mr. m 2024-11-26 20:49:02 +00:00
parent c43c22aab1
commit 2f1a06ae4d

View file

@ -24,6 +24,7 @@ jobs:
- name: Fetch and override deploy branch
run: |
git checkout main
git pull
git branch -D deploy || true
git checkout -b deploy
@ -42,3 +43,5 @@ jobs:
commit_user_name: Zen Browser Robot
commit_user_email: zen-browser-auto@users.noreply.github.com
branch: deploy
push_options: '--force'