Skip to content

Commit

Permalink
fix: test용 Script변경 (Slack 통합 테스트 버전)
Browse files Browse the repository at this point in the history
  • Loading branch information
mclub4 committed May 1, 2024
1 parent 5a9ed13 commit 20fd27c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@ jobs:
source: "/github/workspace/.env"
target: "/home/ubuntu/capstone"

- name: action-slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: PetBuddy Github
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()

deploy:
runs-on : ubuntu-latest
needs: build
Expand Down Expand Up @@ -117,12 +127,6 @@ jobs:
sudo docker-compose -f capstone/docker-compose.yml up -d
sudo docker image prune -f


slack-send:
runs-on: ubuntu-latest
needs: deploy

steps:
- name: action-slack
uses: 8398a7/action-slack@v3
with:
Expand Down

0 comments on commit 20fd27c

Please sign in to comment.