mirror of
https://github.com/zen-browser/updates-server.git
synced 2025-07-07 17:05:36 +02:00
🔄 Add git pull command and force push options in pre-deploy workflow
This commit is contained in:
parent
c43c22aab1
commit
2f1a06ae4d
1 changed files with 3 additions and 0 deletions
3
.github/workflows/pre-deploy.yml
vendored
3
.github/workflows/pre-deploy.yml
vendored
|
@ -24,6 +24,7 @@ jobs:
|
||||||
- name: Fetch and override deploy branch
|
- name: Fetch and override deploy branch
|
||||||
run: |
|
run: |
|
||||||
git checkout main
|
git checkout main
|
||||||
|
git pull
|
||||||
|
|
||||||
git branch -D deploy || true
|
git branch -D deploy || true
|
||||||
git checkout -b deploy
|
git checkout -b deploy
|
||||||
|
@ -42,3 +43,5 @@ jobs:
|
||||||
commit_user_name: Zen Browser Robot
|
commit_user_name: Zen Browser Robot
|
||||||
commit_user_email: zen-browser-auto@users.noreply.github.com
|
commit_user_email: zen-browser-auto@users.noreply.github.com
|
||||||
branch: deploy
|
branch: deploy
|
||||||
|
push_options: '--force'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue