Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Streq authored May 26, 2022
1 parent ef43390 commit e5f791d
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 @@ -53,7 +53,7 @@ jobs:
user_format_type: "csv"
- name: Add Version Number to Exports
run: |
echo ${{ steps.versioning.outputs.version }} > ./exports/VERSION
echo -n ${{ steps.versioning.outputs.version }} >> ./exports/VERSION
- name: Publish Version Artifact
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
- name: Send Discord Success Message
if: ${{ env.IS_MAIN && env.DID_PREV_JOBS_SUCCEED == 'true' }}
run: |
echo '{"content": "'"$PROJECT_NAME"' '"$VERSION"' has successfully released and deployed!"}' > myjson
echo -n '{"content": "'"$PROJECT_NAME"' '"$VERSION"' has successfully released and deployed!"}' >> myjson
curl --location --request POST $DISCORD_WEBHOOK \
--header 'Content-Type: application/json' \
--data-binary "@myjson"
Expand All @@ -210,7 +210,7 @@ jobs:
- name: Send Discord Failure Message
if: ${{ env.IS_MAIN && env.DID_PREV_JOBS_SUCCEED != 'true' }}
run: |
echo '{"content": "'"$PROJECT_NAME"' '"$VERSION"' release and/or deployment has failed!"}' > myjson
echo -n '{"content": "'"$PROJECT_NAME"' '"$VERSION"' release and/or deployment has failed!"}' >> myjson
curl --location --request POST $DISCORD_WEBHOOK \
--header 'Content-Type: application/json' \
--data-binary "@myjson"
Expand Down

0 comments on commit e5f791d

Please sign in to comment.