Merge pull request #288 from authzed/thumper-documentation #240
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: "Link Checker" | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
jobs: | |
preview: | |
name: "Preview Deploy" | |
runs-on: "ubuntu-latest" | |
outputs: | |
preview_url: "${{ steps.waitForVercelPreviewDeployment.outputs.url }}" | |
steps: | |
- name: "Wait for Vercel preview deployment to be ready" | |
uses: "patrickedqvist/[email protected]" | |
id: "waitForVercelPreviewDeployment" | |
with: | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
check_interval: 30 | |
max_timeout: 600 | |
allow_inactive: true | |
link_checker: | |
name: "Link Checker" | |
runs-on: "ubuntu-latest" | |
needs: "preview" | |
timeout-minutes: 15 | |
steps: | |
- uses: "actions/checkout@v3" | |
- name: "Link Checker" | |
uses: "filiph/[email protected]" | |
with: | |
arguments: "--skip-file /github/workspace/linkcheck-skip.txt ${{ needs.preview.outputs.preview_url }}" |