File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,24 @@ jobs:
20
20
- name : Setup Hugo
21
21
uses : peaceiris/actions-hugo@v2
22
22
with :
23
- hugo-version : ' 0.143 .1'
23
+ hugo-version : ' 0.148 .1'
24
24
# extended: true
25
25
26
26
- name : Build
27
27
run : |
28
28
cd blog
29
29
hugo --minify
30
30
31
+ - name : Install xmllint
32
+ run : sudo apt-get update && sudo apt-get install -y libxml2-utils
33
+
34
+ - name : Validate RSS
35
+ run : xmllint blog/public/index.xml --noout
36
+
31
37
- name : Deploy
32
38
uses : peaceiris/actions-gh-pages@v3
33
39
if : github.ref == 'refs/heads/master'
34
40
with :
35
41
github_token : ${{ secrets.GITHUB_TOKEN }}
36
42
publish_dir : ./blog/public
37
- BRANCH : gh-pages # The branch the action should deploy to.
43
+ publish_branch : gh-pages # The branch the action should deploy to.
Original file line number Diff line number Diff line change 37
37
weight : 30
38
38
params :
39
39
author :
40
- name : Stefano Mangiola, Maria Doyle
40
+ name : Tidyomics Team
41
41
archivePaginate : 50
42
42
autoCollapseToc : no
43
43
baiduAnalytics : ' '
You can’t perform that action at this time.
0 commit comments