diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d580eec..03e23b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,7 @@ jobs: -d "Commit \`${GITHUB_SHA::7}\` deployed successfully." \ https://ntfy.sh/splitleaf - name: Notify failure - if: needs.deploy.result != 'success' + if: needs.deploy.result == 'failure' run: | curl -s \ -H "Title: CI: Deploy failed" \