Skip to content

Commit

Permalink
move check links to post deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
epijim authored Dec 15, 2023
1 parent 6248c0a commit 882209d
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,27 @@ jobs:
run: quarto render --output-dir _site
shell: bash

- name: Links
uses: filiph/[email protected]

- name: Publish Site
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
keep_files: true

broken_link_checker_job:
runs-on: ubuntu-latest
needs: publish
name: Check for broken links
steps:
- name: Check for broken links
id: link-report
uses: celinekurpershoek/[email protected]
with:
# Required:
url: "https://phuse-org.github.io/devops/"
# optional:
honorRobotExclusions: false
ignorePatterns: "github,google"
recursiveLinks: false # Check all URLs on all reachable pages (could take a while)
- name: Get the result
run: echo "${{steps.link-report.outputs.result}}"

0 comments on commit 882209d

Please sign in to comment.