From d7916286ce30ad9f26493405026cffcc67f6fa47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=85=B8=EC=9D=84?= Date: Fri, 19 Jan 2024 21:23:20 +0900 Subject: [PATCH] Update cicd-dev.yml --- .github/workflows/cicd-dev.yml | 46 +++++++++++++++++----------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/cicd-dev.yml b/.github/workflows/cicd-dev.yml index 7b66ccc..473dcc5 100644 --- a/.github/workflows/cicd-dev.yml +++ b/.github/workflows/cicd-dev.yml @@ -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 }}"