Skip to content

Commit

Permalink
개발 서버 워크플로우 슬랙 알람 메세지 변경 #119
Browse files Browse the repository at this point in the history
Merge pull request #119 from team-crews/fix/workflow-slack-alarm
  • Loading branch information
jongmee committed Nov 12, 2024
1 parent f58bd7b commit 18d995e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- name: Extract Commit Title
id: extract_commit_title
run: echo "COMMIT_TITLE=$(echo "${{ github.event.head_commit.message }}" | head -n 1)" >> $GITHUB_ENV

- name: Notify Slack on Success
if: success()
uses: slackapi/[email protected]
Expand All @@ -86,7 +90,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "새로운 개발 서버 버전이 배포됐어요! \n ✅ 요약: ${{ github.event.head_commit.message }} \n ✅ 새 도커 이미지를 PULL 받아주세요"
"text": "새로운 개발 서버 버전이 배포됐어요! \n ✅ 요약: ${{ env.COMMIT_TITLE }} \n ✅ 새 도커 이미지를 PULL 받아주세요"
}
}
]
Expand Down

0 comments on commit 18d995e

Please sign in to comment.