diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef0d789..2a6dcf6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,9 +26,9 @@ jobs: deploy: runs-on: ubuntu-latest needs: build + if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - name: deploy - if: github.event_name == 'push' && github.ref == 'refs/heads/main' env: DEPLOY_HOOK_URL: ${{ secrets.DEPLOY_HOOK_URL }} run: |