From 800da211c97f4c2f58891bc56c56cd891f6fb0cd Mon Sep 17 00:00:00 2001 From: David Dong <73568310+DongHY1@users.noreply.github.com> Date: Tue, 18 Jun 2024 16:39:13 +0800 Subject: [PATCH] Update puppeteer.yml --- .github/workflows/puppeteer.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/puppeteer.yml b/.github/workflows/puppeteer.yml index 9e7ac6a..2cd3607 100644 --- a/.github/workflows/puppeteer.yml +++ b/.github/workflows/puppeteer.yml @@ -3,7 +3,7 @@ name: Run Puppeteer Script on: push: branches: - - feat/puppeteer + - master jobs: run-puppeteer: @@ -33,6 +33,8 @@ jobs: run: | git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' + git fetch origin master + git reset --soft FETCH_HEAD git add public/cv.pdf git commit -m "Remove old cv.pdf and update with new generated file" - git push + git push origin master --force