From fe0c61ea94d33d733c8679aea334cb0893ed23a0 Mon Sep 17 00:00:00 2001 From: Cabbet Date: Wed, 9 Oct 2024 18:03:50 +0800 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3d2ce0a..cd2d8fe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -57,7 +57,8 @@ jobs: hugo - name: Deploy - uses: peaceiris/actions-gh-pages@v4 - if: ${{ github.ref == 'refs/heads/main' }} # <-- specify same branch as above here + uses: peaceiris/actions-gh-pages@v3 with: + #deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public