We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21c5131 commit bb849edCopy full SHA for bb849ed
.github/workflows/gh-pages.yml
@@ -19,12 +19,19 @@ jobs:
19
submodules: true
20
fetch-depth: 0
21
22
- - name: Deploy the site
23
- uses: benmatselby/hugo-deploy-gh-pages@main
24
- env:
25
- HUGO_VERSION: 0.88.0
26
- TARGET_REPO: Killarexe/killarexe.github.io
27
- TARGET_BRANCH: master
28
- TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
- HUGO_ARGS: ''
30
- CNAME: killarexe.github.io
+ - name: Setup Hugo
+ uses: peaceiris/actions-hugo@v2
+ with:
+ hugo-version: "latest"
+
+ - name: Build
+ run: hugo --minify
+ - name: Deploy
31
+ uses: peaceiris/actions-gh-pages@v3
32
+ if: ${{ github.ref == 'refs/heads/master' }}
33
34
+ github_token: ${{ secrets.GITHUB_TOKEN }}
35
+ publish_branch: gh-pages
36
+ publish_dir: ./public
37
0 commit comments