Skip to content

Commit

Permalink
trying
Browse files Browse the repository at this point in the history
  • Loading branch information
Streq committed May 26, 2022
1 parent 33dede3 commit c2a1c4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,15 @@ jobs:
run: |
curl --location --request POST $DISCORD_WEBHOOK \
--header 'Content-Type: application/json' \
--data-raw "{\"content\": \"$PROJECT_NAME $VERSION has successfully released and deployed!\"}"
--data-raw '{"content": "'"$PROJECT_NAME"'" "'"$VERSION"'" has successfully released and deployed!"}'
echo '{"content": "'"$PROJECT_NAME"'" "'"$VERSION"'" has successfully released and deployed!"}'
env:
VERSION: ${{ steps.version_number.outputs.content }}
- name: Send Discord Failure Message
if: ${{ env.IS_MAIN && env.DID_PREV_JOBS_SUCCEED != 'true' }}
run: |
curl --location --request POST $DISCORD_WEBHOOK \
--header 'Content-Type: application/json' \
--data-raw "{\"content\": \"$PROJECT_NAME $VERSION release and/or deployment has failed!\"}"
--data-raw '{"content": "'"$PROJECT_NAME"'" "'"$VERSION"'" release and/or deployment has failed!"}'
env:
VERSION: ${{ steps.version_number.outputs.content }}

0 comments on commit c2a1c4d

Please sign in to comment.