From 517814dd254d1445019843ae3511988490a826df Mon Sep 17 00:00:00 2001 From: isayme Date: Thu, 9 Nov 2023 23:13:35 +0800 Subject: [PATCH] Update issue-event.yml --- .github/workflows/issue-event.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/issue-event.yml b/.github/workflows/issue-event.yml index c5a0af8..f5c0cfc 100644 --- a/.github/workflows/issue-event.yml +++ b/.github/workflows/issue-event.yml @@ -42,3 +42,27 @@ jobs: - name: Push changes run: git push + + ghpages: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + submodules: true + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.78.1' + + - name: Build + run: hugo --minify + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public + cname: blog.isayme.org + force_orphan: true