diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 617c042..ddce9f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,8 +9,6 @@ on: jobs: tests: runs-on: ubuntu-latest - if: github.event_name == 'pull_request' - steps: - uses: actions/checkout@v3 @@ -28,8 +26,9 @@ jobs: deploy: runs-on: ubuntu-latest + needs: + - tests if: github.event_name == 'push' - steps: - uses: actions/checkout@v3