Skip to content

Commit

Permalink
trying again
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilGenius13 committed Sep 17, 2024
1 parent 236c1cf commit 9c1dd5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ steps:
- git clone https://github.com/EvilGenius13/Anonymoose.git
- cd Anonymoose
- scripts/deploy.sh
- echo "Buildkite command exit status: $BUILDKITE_COMMAND_EXIT_STATUS"
- |
if [ "$BUILDKITE_COMMAND_EXIT_STATUS" -eq 0 ]; then
EXIT_STATUS=$?
echo "Buildkite command exit status: $EXIT_STATUS"
if [ "$EXIT_STATUS" -eq 0 ]; then
curl -X POST "${DISCORD_WEBHOOK_URL}" \
-H "Content-Type: application/json" \
-d '{"content": "Deployment successful :rocket:"}'
Expand Down

0 comments on commit 9c1dd5e

Please sign in to comment.