From 67e290c10791814b8147318b924afd08cd286149 Mon Sep 17 00:00:00 2001 From: Atsuya Watanabe Date: Wed, 23 Oct 2024 23:39:07 +0900 Subject: [PATCH 1/3] Fix #49: Fix syntax error --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: From 40a80aae43b3155f1d8dab4694e1248c8ada5a98 Mon Sep 17 00:00:00 2001 From: Atsuya Watanabe Date: Thu, 24 Oct 2024 06:38:59 +0900 Subject: [PATCH 2/3] chore: actions-gh-pages --- .github/workflows/gh-pages.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 67b8fad7..8a750523 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.0 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' From 1c9cf76d4d234b6570fb4a390fb082560340ff81 Mon Sep 17 00:00:00 2001 From: Atsuya Watanabe Date: Thu, 24 Oct 2024 06:41:00 +0900 Subject: [PATCH 3/3] fix: syntax error --- .github/workflows/gh-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 8a750523..a501455b 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -26,7 +26,7 @@ jobs: - run: hugo --minify - - uses: peaceiris/actions-gh-pages@v4.0 + - uses: peaceiris/actions-gh-pages@v4 if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }}