Skip to content
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