Skip to content

Commit

Permalink
Update validate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCrew authored Nov 12, 2024
1 parent 0dca574 commit 2911c54
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ name: Validate

on:
workflow_dispatch:
workflow_call:
workflow_run:
workflows:
- Publish
types:
- completed


jobs:
quality:
# The type of runner that the job will run on
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Check Links
uses: filiph/linkcheck@2.0.23
with:
arguments: https://docs.threatx.com
check-links:
environment: production
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- run: echo "Publish workflow was a success"
- uses: actions/checkout@v4
- name: Check Links
uses: filiph/linkcheck@2.0.23
with:
arguments: https://docs.threatx.com



0 comments on commit 2911c54

Please sign in to comment.