File tree Expand file tree Collapse file tree 2 files changed +30
-12
lines changed Expand file tree Collapse file tree 2 files changed +30
-12
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Zola
22
33on :
44 push :
5- branches : source
5+ branches : redesign
66 pull_request :
77
88jobs :
@@ -29,11 +29,11 @@ jobs:
2929 fi
3030 echo "changed_files: $changed_files"
3131 echo "changed_files=$changed_files" >> $GITHUB_OUTPUT
32- - name : Lint
33- uses : avto-dev/markdown-lint@v1
34- with :
35- args : ' .'
36- config : ' .markdownlint.json'
32+ # - name: Lint
33+ # uses: avto-dev/markdown-lint@v1
34+ # with:
35+ # args: '.'
36+ # config: '.markdownlint.json'
3737 - name : Check links
3838 uses : lycheeverse/lychee-action@v1.9.0
3939 if : ${{ steps.changed-files.outputs.changed_files != '' }}
@@ -55,10 +55,26 @@ jobs:
5555 curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
5656 echo "Zola version: $(./zola --version)"
5757 - name : Zola build
58- run : ./zola build
59- - name : Deploy
60- if : github.ref == 'refs/heads/source'
61- uses : crazy-max/ghaction-github-pages@v1
58+ run : ./zola build --base-url 'https://tau.garden/rust-gamedev.github.io'
59+ - name : Upload GitHub Pages Artifact
60+ uses : actions/upload-pages-artifact@v3
6261 with :
63- build_dir : public
64- target_branch : master
62+ path : public/
63+
64+ deploy_pages :
65+ needs : zola
66+ if : github.ref_name == 'redesign'
67+
68+ permissions :
69+ pages : write
70+ id-token : write
71+
72+ environment :
73+ name : github-pages
74+ url : ${{ steps.deployment.outputs.page_url }}
75+
76+ runs-on : ubuntu-24.04
77+ steps :
78+ - name : Deploy to GitHub Pages
79+ id : deployment
80+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ User-agent: *
2+ Disallow: /
You can’t perform that action at this time.
0 commit comments