[ci] Only deploy if ci passes
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user