Skip to content

Commit

Permalink
ok lLETSS GO
Browse files Browse the repository at this point in the history
  • Loading branch information
Streq committed May 26, 2022
1 parent c2a1c4d commit 029465c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +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!"}'
echo '{"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 029465c

Please sign in to comment.