From 23d80755009ccf6dc517669b524cebca14884c0e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 06:43:59 +0900 Subject: [PATCH] 49-FixReleaseFailure (#50) * Fix #49: Fix syntax error * chore: actions-gh-pages * fix: syntax error --------- Co-authored-by: Atsuya Watanabe --- .github/workflows/gh-pages.yml | 10 +++++----- .github/workflows/release.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) 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: