Thanks to visit codestin.com Credit goes to github.com
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.
2 parents fae6664 + 96d4f8c commit 0dcef35Copy full SHA for 0dcef35
.github/workflows/gh-pages.yml
@@ -0,0 +1,28 @@
1
+name: GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ schedule:
8
+ - cron: '0 9 * * *'
9
10
+jobs:
11
+ deploy:
12
+ runs-on: ubuntu-18.04
13
+ steps:
14
+ - uses: actions/checkout@v2
15
16
+ - name: Setup Hugo
17
+ uses: peaceiris/actions-hugo@v2
18
+ with:
19
+ hugo-version: '0.62.2'
20
21
+ - name: Build
22
+ run: hugo --minify
23
24
+ - name: Deploy
25
+ uses: peaceiris/actions-gh-pages@v3
26
27
+ github_token: ${{ secrets.GITHUB_TOKEN }}
28
+ publish_dir: ./public
publish.bat
0 commit comments