Skip to content

Commit

Permalink
ci: send slack message after deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
HyungJu committed Mar 17, 2024
1 parent 3b3326c commit dc8387a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ jobs:
service: vacgom-best-service
cluster: vacgom-cluster
wait-for-service-stability: true
- name: Send Slack notification
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: 백곰
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()

deploy_develop:
runs-on: ubuntu-latest
name: Deploy to Amazon ECS (develop)
Expand Down Expand Up @@ -126,3 +136,12 @@ jobs:
service: vacgom-service-dev
cluster: vacgom-cluster
wait-for-service-stability: true
- name: Send Slack notification
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: 백곰
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()

0 comments on commit dc8387a

Please sign in to comment.