File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 push :
44 branches : ["main"]
55
6+ workflow_dispatch :
7+
68permissions :
79 contents : read
810 pages : write
@@ -20,24 +22,24 @@ defaults:
2022jobs :
2123 build :
2224 runs-on : ubuntu-latest
25+ env :
26+ Zola_VERSION : 0.20.0
2327 steps :
2428 - name : Install Zola
25- uses : taiki-e/install-action@v2
26- with :
27- tool : zola@0.19.1
29+ run : |
30+ wget -O "https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz" \
31+ && sudo tar xzf - -C /usr/local/bin
2832 - name : Checkout
29- uses : actions/checkout@v3
33+ uses : actions/checkout@v4
3034 - name : Setup Pages
31- id : pages
32- uses : actions/configure-pages@v3
35+ uses : actions/configure-pages@v5
3336 - name : Build with Zola
34- run : |
35- zola build
37+ run : zola build
3638 - name : Upload artifact
37- uses : actions/upload-pages-artifact@v1
39+ uses : actions/upload-pages-artifact@v4
3840 with :
3941 path : ./public
40-
42+
4143 deploy :
4244 environment :
4345 name : github-pages
4749 steps :
4850 - name : Deploy to GitHub Pages
4951 id : deployment
50- uses : actions/deploy-pages@v2
52+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments