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 a8d5d13 commit 58366cc
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,25 @@ on:
- Publish
types:
- completed
- waiting
branches:
- main

jobs:
check-links:
environment: production

check-staging:
environment: staging
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'action_required' }}
steps:
- run: echo "Staging has completed successfully"
- name: Check Links
uses: filiph/linkcheck@2.0.23
with:
arguments: http://docs-staging.threatx.com

check-prod:
environment: production
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
Expand Down

0 comments on commit 58366cc

Please sign in to comment.