Release v1.13 Docs #203
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: Run htmltest and validate links | |
on: | |
pull_request: | |
paths: | |
- 'content/**' | |
- 'themes/**' | |
# Allows manual workflow run (must in default branch to work) | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the docs repo | |
uses: actions/checkout@v3 | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: '0.109.0' | |
extended: true | |
- name: Build | |
# Set to env=dev so SCSS isn't required. | |
run: hugo --environment development | |
- name: Run htmltest | |
uses: wjdp/htmltest-action@master | |
with: | |
config: ./utils/htmltest/.htmltest.yml |