Skip to content

Commit e6de942

Browse files
committed
Update Hugo version to 0.148.1, add xmllint installation and RSS validation step, and change author name to Tidyomics Team in config.yaml
1 parent 75041f3 commit e6de942

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/blog.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,24 @@ jobs:
2020
- name: Setup Hugo
2121
uses: peaceiris/actions-hugo@v2
2222
with:
23-
hugo-version: '0.143.1'
23+
hugo-version: '0.148.1'
2424
# extended: true
2525

2626
- name: Build
2727
run: |
2828
cd blog
2929
hugo --minify
3030
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+
3137
- name: Deploy
3238
uses: peaceiris/actions-gh-pages@v3
3339
if: github.ref == 'refs/heads/master'
3440
with:
3541
github_token: ${{ secrets.GITHUB_TOKEN }}
3642
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.

blog/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ menu:
3737
weight: 30
3838
params:
3939
author:
40-
name: Stefano Mangiola, Maria Doyle
40+
name: Tidyomics Team
4141
archivePaginate: 50
4242
autoCollapseToc: no
4343
baiduAnalytics: ''

0 commit comments

Comments
 (0)