From 4b1795825b1e12e7259ecc23c41f03be3fd21596 Mon Sep 17 00:00:00 2001 From: CorrectRoadH Date: Mon, 15 Jan 2024 14:29:03 +0800 Subject: [PATCH] fix: fix release GitHub Action fail (#384) --- .github/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1dad8d4..473981e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,6 +51,7 @@ jobs: - name: Upload to GitHub Pages uses: actions/checkout@v4 with: + persist-credentials: false repository: IceWhaleTech/icewhaletech.github.io path: pages @@ -65,7 +66,12 @@ jobs: git config user.email 'a778917369@gmail.com' git add . git commit -m "Update app store zip" - git push - + + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} +