Skip to content

Commit ed722c2

Browse files
authored
chore(ci): fix condition for success Discord notification
1 parent 0767052 commit ed722c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/stencil-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ jobs:
230230
runs-on: ubuntu-latest
231231
steps:
232232
- name: Notify success on Discord
233-
if: failure()
233+
if: success()
234234
run: |
235235
curl -H "Content-Type:application/json" \
236236
-d '{"content": "Alerting <@1347593178580254761>!", "embeds": [{"title": "✅ Workflow ${{github.workflow}} #${{github.run_number}} finished successfully", "color": 65280, "url": "${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}"}]}' \

0 commit comments

Comments
 (0)