diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 939a3ba..8e0949c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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": [