Skip to content

Commit

Permalink
fix logic for not checking links on analytics package
Browse files Browse the repository at this point in the history
  • Loading branch information
jthrilly committed Nov 21, 2024
1 parent b1a9ce9 commit ed34735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
linkinator:
runs-on: ubuntu-latest
# Runs if the deployment environment starts with 'preview' and the deployment status is 'success', and if the url does not contain 'analytics'
if: ${{ startsWith(github.event.deployment_status.environment, 'preview') && github.event.deployment_status.state == 'success' }} && !contains(github.event.deployment_status.environment_url, 'analytics')
if: ${{ startsWith(github.event.deployment_status.environment, 'preview') && github.event.deployment_status.state == 'success' && !contains(github.event.deployment_status.environment_url, 'analytics')}}
steps:
- name: Checkout the repository
uses: actions/checkout@v4
Expand Down

0 comments on commit ed34735

Please sign in to comment.