From 2f1a06ae4d3a10f3070067e3a606e549fa0372f4 Mon Sep 17 00:00:00 2001 From: "mr. m" <91018726+mr-cheff@users.noreply.github.com> Date: Tue, 26 Nov 2024 20:49:02 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20Add=20git=20pull=20command=20and?= =?UTF-8?q?=20force=20push=20options=20in=20pre-deploy=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pre-deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pre-deploy.yml b/.github/workflows/pre-deploy.yml index 4d27d2e..c165d28 100644 --- a/.github/workflows/pre-deploy.yml +++ b/.github/workflows/pre-deploy.yml @@ -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' +