Created
June 14, 2021 14:36
-
-
Save dholbach/b8e37687b1d1bc085745e18c20f8e142 to your computer and use it in GitHub Desktop.
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: docs | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "00 23 * * 0" | |
jobs: | |
link-checker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
with: | |
submodules: recursive | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v2.5.0 | |
with: | |
hugo-version: 'latest' | |
extended: true | |
- name: Build | |
run: make site | |
- name: Link Checker | |
uses: lycheeverse/lychee-action@v1.0.8 | |
with: | |
args: --verbose --no-progress content/*.md public/**/*.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment