diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 81cde6b..2769190 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -53,11 +53,7 @@ jobs: path: coverage/index.html retention-days: 1 build: - needs: test - if: | - always() && - github.ref == 'refs/heads/main' && - (needs.test.result == 'success' || needs.test.result == 'skipped') + if: github.event_name == 'push' && github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Checkout