Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
This2sho authored Mar 7, 2024
1 parent aa127b5 commit 5e6ffa4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
distribution: 'corretto'

- name: Install redis
run: sudo apt-get install -y redis-tools redis-server
run: apt-get update && apt-get install -y redis-tools redis-server

- name: Verify that redis is up
run: redis-cli ping
Expand All @@ -45,11 +45,10 @@ jobs:
token: ${{ github.token }}

- name: build 실패 시 Slack으로 알립니다
uses: 8398a7/action-slack@v3
uses: rtCamp/action-slack-notify@v2
if: failure()
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: failure()
slack_webhook: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 5e6ffa4

Please sign in to comment.