We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 569dc9a commit f9d29f0Copy full SHA for f9d29f0
4 files changed
.github/workflows/demo.yml
.github/workflows/hugo.yml
@@ -0,0 +1,24 @@
1
+name: Build and Deploy Hugo
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build-deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Setup Hugo
15
+ uses: peaceiris/actions-hugo@v2
16
+ with:
17
+ hugo-version: 'latest'
18
+ - name: Build
19
+ run: hugo --minify
20
+ - name: Deploy to GitHub Pages
21
+ uses: peaceiris/actions-gh-pages@v3
22
23
+ github_token: ${{ secrets.GITHUB_TOKEN }}
24
+ publish_dir: ./public
.github/workflows/test.yml
_config.yml
0 commit comments