Skip to content

Commit

Permalink
ci: update condition for deploy job [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Aug 2, 2024
1 parent 23995c2 commit c19dd0c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
filters: |
src:
- '!content/**'
- '!(content|public)/**'
validate:
name: Validate
Expand Down Expand Up @@ -120,7 +120,8 @@ jobs:

build-deploy:
name: Build and deploy
if: ${{ always() && github.event_name == 'push' }}
# @see https://github.com/orgs/community/discussions/45058
if: ${{ github.event_name == 'push' && !failure() && !cancelled() }}
needs: [validate]
uses: ./.github/workflows/build-deploy.yml
secrets: inherit
Expand Down

0 comments on commit c19dd0c

Please sign in to comment.