[ci] Only deploy if ci passes
Some checks failed
Deploy to mopidy1 / deploy (push) Has been cancelled
CI / test (push) Successful in 1m29s
CI / deploy (push) Has been cancelled

This commit is contained in:
2026-06-28 12:17:33 -04:00
parent d9bf42120c
commit 9c6ef68934

View File

@ -28,7 +28,7 @@ jobs:
run: npm test run: npm test
deploy: deploy:
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main' && needs.test.result == 'success'
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test needs: test
steps: steps: