Skip to content

Commit

Permalink
Update cicd-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0sunset0 authored Jan 19, 2024
1 parent 06fd022 commit c3d5414
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,18 @@ jobs:
- name: Send JANDI Notification
run: |
curl -X POST https://wh.jandi.com/connect-api/webhook/${{ secrets.JANDI_TOKEN }} \
curl -X POST "${{ secrets.JANDI_WEBHOOK_URL }}" \
-H "Content-Type: application/json" \
-H "Accept: application/vnd.tosslab.jandi-v2+json" \
-d '{
"body": "PR 빌드 및 테스트 결과: '${{ job.status }}'",
"connectColor": "${{ job.status === 'success' ? '#2ECC71' : '#FF6347' }}",
"connectColor": `${job.status === 'success' ? '#2ECC71' : '#FF6347'}`,
"connectBlocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*CI/CD 결과: '${{ job.status }}'*"
"text": "*CI/CD 결과: '"${{ job.status }}"'*"
}
},
{
Expand All @@ -128,4 +128,4 @@ jobs:
]
}
]
}'
}'

0 comments on commit c3d5414

Please sign in to comment.