Skip to content

Commit

Permalink
chore: 슬랙 연동 스크립트 추가 및 배포 스크립트 파일명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
amaran-th committed Jul 22, 2023
1 parent 6d0cc4f commit 05044b0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/backend-deploy.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/backend-dev-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Kerdy Backend Dev Server CI/CD

on:
workflow_dispatch:

jobs:
build:
runs-on: self-hosted
steps:
- name: deploy
run: ~/deploy.sh
- name: send slack message
uses: 8398a7/action-slack@v3
with:
mention: 'here'
if_mention: failure
status: ${{ job.status }}
fields: workflow,job,commit,message,ref,author,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()

0 comments on commit 05044b0

Please sign in to comment.