Skip to content

Update Hugo version to 0.148.1, add xmllint installation and RSS vali… #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/blog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,24 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.143.1'
hugo-version: '0.148.1'
# extended: true

- name: Build
run: |
cd blog
hugo --minify

- name: Install xmllint
run: sudo apt-get update && sudo apt-get install -y libxml2-utils

- name: Validate RSS
run: xmllint blog/public/index.xml --noout

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./blog/public
BRANCH: gh-pages # The branch the action should deploy to.
publish_branch: gh-pages # The branch the action should deploy to.
2 changes: 1 addition & 1 deletion blog/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ menu:
weight: 30
params:
author:
name: Stefano Mangiola, Maria Doyle
name: Tidyomics Team
archivePaginate: 50
autoCollapseToc: no
baiduAnalytics: ''
Expand Down
Loading