Update hugo to version 0.140.2, GH actions to latest (#1573)

* Move pagination config to own section (deprecation warning)

* Update hugo to version 0.140.0

* Update actions/checkout to v4

* Update actions/configure-pages to v5

* Update actions/upload-pages-artifact to v3

* Update actions/deploy-pages to v4

* Update hugo to version 0.140.2
This commit is contained in:
Matt Jankowski 2025-01-10 11:02:17 -05:00 committed by GitHub
parent 4afe1ae06f
commit ccaaa4d89d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 6 deletions

View File

@ -28,26 +28,26 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Pages
id: pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.130.0"
hugo-version: "0.140.2"
extended: true
- name: Build
run: hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./public
@ -61,4 +61,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

View File

@ -5,10 +5,12 @@ title = "Mastodon documentation"
pygmentsCodeFences = true
pygmentsStyle = "github-dark"
metaDataFormat = "yaml"
paginate = 100
enableGitInfo = true
disablePathToLower = true
[pagination]
pagerSize = 100
[markup]
[markup.tableOfContents]
endLevel = 3