Check links validity #611
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: Check links validity | |
on: | |
workflow_dispatch: | |
schedule: | |
# https://crontab.guru/#30_8_*_*_* | |
- cron: "30 8 * * *" | |
jobs: | |
run: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18.18.2" | |
- run: npm ci | |
- id: invalid_links | |
run: npm run tools:check-links-validity | |
timeout-minutes: 60 | |
env: | |
GRIST_DOC_ID: ${{ secrets.GRIST_DOC_ID }} | |
GRIST_API_KEY: ${{ secrets.GRIST_API_KEY }} | |
MATTERMOST_ALERTING_URL: ${{ secrets.MATTERMOST_ALERTING_URL }} |