Portaler broken link fix #957
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Hugo Verifications | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build and Check links | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v3 | |
with: | |
hugo-version: 'latest' | |
extended: true | |
- run: npm install | |
- name: Build | |
run: hugo --environment production | |
- name: Build pagefind index | |
run: npx -y pagefind --site "public" | |
- name: Verify links | |
uses: untitaker/hyperlink@0.1.32 | |
with: | |
args: public/ --check-anchors --sources content/ |