Merge pull request #39 from cgay/doc #6
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: Build and test documentation | |
on: | |
push: | |
# all branches | |
paths: | |
- 'documentation/**' | |
pull_request: | |
# all branches | |
paths: | |
- 'documentation/**' | |
# This enables the Run Workflow button on the Actions tab. | |
workflow_dispatch: | |
# Set DYLAN environment variable to GITHUB_WORKSPACE so packages are | |
# installed in ../../_packages relative to documentation's Makefile | |
env: | |
DYLAN: ${{ github.workspace }} | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check links | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: ghcr.io/fraya/dylan-docs | |
options: -v ${{ github.workspace }}/documentation:/docs | |
run: make linkcheck |