We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 039cced commit 1c9de16Copy full SHA for 1c9de16
.github/workflows/gh-pages.yml
@@ -8,25 +8,22 @@ on:
8
9
jobs:
10
deploy:
11
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
12
steps:
13
- uses: actions/checkout@v2
14
with:
15
submodules: true # Fetch Hugo themes (true OR recursive)
16
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
17
18
- - name: Setup Hugo
19
- uses: peaceiris/actions-hugo@v2
+ - uses: actions/setup-node@v2
20
21
- hugo-version: 'latest'
22
- # extended: true
+ node-version: '14'
23
24
- name: Build
25
- run: hugo --minify
+ run: npm run build
26
27
- name: Deploy
28
uses: peaceiris/actions-gh-pages@v3
29
- if: github.ref == 'refs/heads/main'
30
31
github_token: ${{ secrets.GITHUB_TOKEN }}
32
publish_dir: ./public
0 commit comments