diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 3bab35c7..6aed4594 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -31,7 +31,7 @@ jobs: with: filters: | src: - - '!content/**' + - '!(content|public)/**' validate: name: Validate @@ -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