Scheduled jobs: Check links #351
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: "Scheduled jobs: Check links" | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string. | |
# Run every day at 3:00PM UTC. | |
- cron: '0 15 * * *' | |
workflow_dispatch: | |
jobs: | |
all: | |
env: | |
GOPATH: ${{ github.workspace }}/go | |
name: Check links | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18.x' | |
- name: Install Hugo | |
uses: peaceiris/actions-hugo@v3 | |
with: | |
hugo-version: '0.111.0' | |
extended: true | |
- name: Run make check_links | |
run: make check_links | |
env: | |
SLACK_ACCESS_TOKEN: ${{ secrets.SLACK_ACCESS_TOKEN }} |