mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
ci: discord when -> if
This commit is contained in:
parent
6a5df41a31
commit
14c9993bf6
1 changed files with 2 additions and 4 deletions
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
@ -194,9 +194,7 @@ jobs:
|
|||
deployment.tfplan
|
||||
|
||||
- name: Yell Success at Discord
|
||||
when: success()
|
||||
env:
|
||||
|
||||
if: success()
|
||||
run: |
|
||||
DATA='{
|
||||
"embeds": [
|
||||
|
@ -219,7 +217,7 @@ jobs:
|
|||
curl -X POST -H "content-type: application/json" --data $DATA ${{ secrets.DEPLOYMENT_WEBHOOK_URL }}
|
||||
|
||||
- name: Yell Failure at Discord
|
||||
when: failed()
|
||||
if: failed()
|
||||
run: |
|
||||
DATA='{
|
||||
"embeds": [
|
||||
|
|
Loading…
Add table
Reference in a new issue