We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9396a2 commit 9071fb8Copy full SHA for 9071fb8
.github/workflows/publish.yaml
@@ -2,7 +2,7 @@ name: publish
2
3
on:
4
push:
5
- branches: [ main ]
+ branches: [main]
6
7
jobs:
8
publish-site:
@@ -18,11 +18,14 @@ jobs:
18
git config --global user.name "masci"
19
git remote add upstream https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
20
21
- - name: Build site
22
- uses: jakejarvis/hugo-build-action@master
+ - name: Setup Hugo
+ uses: peaceiris/actions-hugo@v3
23
with:
24
args: -s site
25
26
+ - name: Build site
27
+ run: hugo -s site
28
+
29
- name: Push gh-pages branch
30
run: |
31
git add -A --force
0 commit comments