File tree 1 file changed +27
-11
lines changed
1 file changed +27
-11
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Zola
2
2
3
3
on :
4
4
push :
5
- branches : source
5
+ branches : redesign
6
6
pull_request :
7
7
8
8
jobs :
@@ -29,11 +29,11 @@ jobs:
29
29
fi
30
30
echo "changed_files: $changed_files"
31
31
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'
37
37
- name : Check links
38
38
uses :
lycheeverse/[email protected]
39
39
if : ${{ steps.changed-files.outputs.changed_files != '' }}
56
56
echo "Zola version: $(./zola --version)"
57
57
- name : Zola build
58
58
run : ./zola build
59
- - name : Deploy
60
- if : github.ref == 'refs/heads/source'
61
- uses : crazy-max/ghaction-github-pages@v1
59
+ - name : Upload GitHub Pages Artifact
60
+ uses : actions/upload-pages-artifact@v3
62
61
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
You can’t perform that action at this time.
0 commit comments