Skip to content

Commit

Permalink
Fix for $MESSAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
cfindlayisme committed Jan 3, 2024
1 parent af98ecd commit a6f9ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ jobs:
run: |
export COMMIT_MSG=$(git log -1 --pretty=%B)
export MESSAGE="\x0303,01Build of ${{ secrets.DOCKER_REPO }}:latest completed successfully with commit message: $COMMIT_MSG\x03"
curl -X POST -H "Content-Type: application/json" -d '{"message":"$MESSAGE", "password":"${{ secrets.WMB_PASSWORD }}"}' https://convos.findlayis.me/wmb/message
curl -X POST -H "Content-Type: application/json" -d '{"message":"'$MESSAGE'", "password":"${{ secrets.WMB_PASSWORD }}"}' https://convos.findlayis.me/wmb/message
if: success()

- name: Notify IRC Failure
run: |
export COMMIT_MSG=$(git log -1 --pretty=%B)
export MESSAGE="\x0304,01Build of ${{ secrets.DOCKER_REPO }}:latest failed with commit message: $COMMIT_MSG\x03"
curl -X POST -H "Content-Type: application/json" -d '{"message":"$MESSAGE", "password":"${{ secrets.WMB_PASSWORD }}"}' https://convos.findlayis.me/wmb/message
curl -X POST -H "Content-Type: application/json" -d '{"message":"'$MESSAGE'", "password":"${{ secrets.WMB_PASSWORD }}"}' https://convos.findlayis.me/wmb/message
if: failure()

deploy:
Expand Down

0 comments on commit a6f9ae1

Please sign in to comment.