Skip to content

Commit

Permalink
chore(POLABO-39): 디스코드 연동 4차
Browse files Browse the repository at this point in the history
  • Loading branch information
dldmsql authored Jul 3, 2024
1 parent 3540008 commit 81e43d1
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/healthCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,9 @@ jobs:
max-attempts: 3
retry-delay: 1s

- name: Set status message
id: set_message
run: |
if [ "${{ steps.health_check.outputs.conclusion }}" == "OKSuccess" ]; then
echo "::set-output name=message::Health check succeeded"
else
echo "::set-output name=message::Health check failed"
fi
- name: Discord Webhook Action
if: always()
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
content: ${{ steps.set_message.outputs.message }}
content: ${{ job.status }}

0 comments on commit 81e43d1

Please sign in to comment.