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