Skip to content

Commit

Permalink
✅ Add link checker
Browse files Browse the repository at this point in the history
  • Loading branch information
CollierCZ committed Feb 22, 2022
1 parent 2b1588e commit 3762419
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/link-to-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Link to docs
name: Links
on:
pull_request:
types: [opened,reopened]
Expand Down Expand Up @@ -135,3 +135,14 @@ jobs:
repo: context.repo.repo,
body: `Your Platform.sh environment has successfully deployed. :rocket:\n\nSee the site: ${process.env.ENV_URL}`
})
check-links:
runs-on: ubuntu-latest
name: Check links
needs: get_url
if: needs.get_url.outputs.commit_status == 'success'
steps:
- name: Check links with linkcheck
uses: filiph/[email protected]
with:
arguments: ${{ needs.get_url.outputs.env_url }}

0 comments on commit 3762419

Please sign in to comment.