Skip to content

Commit

Permalink
Fix(*): steps 누락 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
InHyeok-J committed Jun 23, 2024
1 parent bc51a7e commit 31eefa7
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/devcd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,17 +189,18 @@ jobs:
AUTHOR: ${{needs.checkout.outputs.AUTHOR}}
COMMIT_MESSAGE: ${{needs.checkout.outputs.COMMIT_MESSAGE}}
if: failure()
steps:
- name: send result when failure
uses: jabiseo/slack-custom-bot@main
with:
mode: DEPLOY
channelId: "${{ secrets.NOTI_CHANNEL_ID }}"
text: "Deploy 배포 실패"
statusColor: "#eb3434"
env:
SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SHA: ${{env.VERSION}}
COMMIT_MESSAGE: ${{env.COMMIT_MESSAGE}}
AUTHOR: ${{env.AUTHOR}}
DOCKER_IMAGE: ${{env.DOCKER_TAG}}
uses: jabiseo/slack-custom-bot@main
with:
mode: DEPLOY
channelId: "${{ secrets.NOTI_CHANNEL_ID }}"
text: "Deploy 배포 실패"
statusColor: "#eb3434"
env:
SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SHA: ${{env.VERSION}}
COMMIT_MESSAGE: ${{env.COMMIT_MESSAGE}}
AUTHOR: ${{env.AUTHOR}}
DOCKER_IMAGE: ${{env.DOCKER_TAG}}

0 comments on commit 31eefa7

Please sign in to comment.