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 3f6195f commit d791628
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,26 +103,26 @@ jobs:
aws ec2 revoke-security-group-ingress --group-id ${{ secrets.AWS_SG_ID }} --protocol tcp --port 22 --cidr ${{ steps.ip.outputs.ipv4 }}/32

- name: Send JANDI Notification
run: |
curl -X POST -H "Content-Type: application/json" -d '{
"body": "PR 빌드 및 테스트 결과: '${{ job.status }}'",
"connectColor": "'${{ job.status == 'success' ? '#2ECC71' : '#FF6347' }}'",
"connectBlocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*CI/CD 결과: '"${{ job.status }}"'*"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*PR 이름:*\n${{ github.event.pull_request.title }}"
}
]
}
]
}' "https://wh.jandi.com/connect-api/webhook/${{ secrets.JANDI_TOKEN }}"
run: |
curl -X POST -H "Content-Type: application/json" -d '{
"body": "PR 빌드 및 테스트 결과: '${{ job.status }}'",
"connectColor": "'${{ job.status == 'success' ? '#2ECC71' : '#FF6347' }}'",
"connectBlocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*CI/CD 결과: '"${{ job.status }}"'*"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*PR 이름:*\n${{ github.event.pull_request.title }}"
}
]
}
]
}' "https://wh.jandi.com/connect-api/webhook/${{ secrets.JANDI_TOKEN }}"

0 comments on commit d791628

Please sign in to comment.