updated Slack channel id

This commit is contained in:
adhl-0216 2025-04-03 21:51:30 +00:00 committed by GitHub
parent 16d9918ffc
commit 37fbc364f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ jobs:
secrets: secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SLACK_CI_CHANNEL_ID: ${{ secrets.SLACK_CI_CHANNEL_ID }} SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
build-and-push: build-and-push:
needs: sonarcloud needs: sonarcloud
@ -74,7 +74,7 @@ jobs:
method: chat.postMessage method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }} token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: | payload: |
channel: ${{ secrets.SLACK_PROD_CHANNEL_ID }} channel: ${{ secrets.SLACK_CHANNEL_ID }}
text: "Staging Deployment Complete: ${{ job.status }} for commit ${{ github.sha }}. Production deployment is pending review in GitHub Actions." text: "Staging Deployment Complete: ${{ job.status }} for commit ${{ github.sha }}. Production deployment is pending review in GitHub Actions."
deploy-production: deploy-production:
@ -111,5 +111,5 @@ jobs:
method: chat.postMessage method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }} token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: | payload: |
channel: ${{ secrets.SLACK_PROD_CHANNEL_ID }} channel: ${{ secrets.SLACK_CHANNEL_ID }}
text: "Production Deployment: ${{ job.status }} for commit ${{ github.sha }}" text: "Production Deployment: ${{ job.status }} for commit ${{ github.sha }}"