diff --git a/.github/workflows/blog.yaml b/.github/workflows/blog.yaml index 2ddaf26..f3ef224 100644 --- a/.github/workflows/blog.yaml +++ b/.github/workflows/blog.yaml @@ -20,7 +20,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: - hugo-version: '0.143.1' + hugo-version: '0.148.1' # extended: true - name: Build @@ -28,10 +28,16 @@ jobs: 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. diff --git a/blog/config.yaml b/blog/config.yaml index fe3b57a..312e670 100644 --- a/blog/config.yaml +++ b/blog/config.yaml @@ -37,7 +37,7 @@ menu: weight: 30 params: author: - name: Stefano Mangiola, Maria Doyle + name: Tidyomics Team archivePaginate: 50 autoCollapseToc: no baiduAnalytics: ''