Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
taein authored and taein committed Oct 29, 2023
1 parent dbd3a13 commit e15436d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ jobs:
ARGOCD_AUTH_TOKEN: ${{ env.ARGOCD_AUTH_TOKEN }}

- name: Send Notification
if: always()
if: ${{ always() }}
run: |
if [[ ${{ job.status }} == "success" ]]; then
MESSAGE="🏷 배포 성공: Catcher-service - by ${{ github.actor }}"
else
MESSAGE="❌ 배포 실패: Catcher-service - by ${{ github.actor }}"
fi
curl -X POST -H "Content-Type: application/json" -d "{\"text\":\"${MESSAGE}\"}" ${{ secrets.WEBHOOK_URL }}
curl -X POST -H "Content-Type: application/json" --data "{\"text\":\"${MESSAGE}\"}" ${{ env.WEBHOOK_URL }}

0 comments on commit e15436d

Please sign in to comment.