diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 85ee95bc..a357ea8f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: run: npm test deploy: - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' && needs.test.result == 'success' runs-on: ubuntu-latest needs: test steps: