diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 67b8fad7..a501455b 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -15,21 +15,21 @@ jobs: submodules: false # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - - name: Setup Go - uses: actions/setup-go@v5 + - uses: actions/setup-go@v5 with: go-version: 'stable' - - name: Setup Hugo - uses: peaceiris/actions-hugo@v3 + - uses: peaceiris/actions-hugo@v3 with: hugo-version: '0.135.0' extended: true - run: hugo --minify - - uses: peaceiris/actions-gh-pages@v3 + - uses: peaceiris/actions-gh-pages@v4 if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs + user_name: 'github-actions[bot]' + user_email: 'github-actions[bot]@users.noreply.github.com' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77bb2c18..4a5df5e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release "on": push: - branchs-ignore: + branches-ignore: - main workflow_dispatch: