Skip to content

Commit b13ddfc

Browse files
chore: update slackapi/slack-github-action action to v2
1 parent 848a373 commit b13ddfc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ jobs:
8080
shell: bash
8181

8282
- name: Notify Slack Success
83-
uses: slackapi/slack-github-action@v1.26.0
83+
uses: slackapi/slack-github-action@v2.0.0
8484
env:
8585
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
8686
with:
8787
channel-id: 'coding-exercise-queue'
8888
slack-message: ':white_check_mark: Deployment to *dev* succeeded'
8989

9090
- name: Notify Slack Failure
91-
uses: slackapi/slack-github-action@v1.26.0
91+
uses: slackapi/slack-github-action@v2.0.0
9292
if: ${{ failure() }}
9393
env:
9494
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
@@ -141,15 +141,15 @@ jobs:
141141
shell: bash
142142

143143
- name: Notify Slack Success
144-
uses: slackapi/slack-github-action@v1.26.0
144+
uses: slackapi/slack-github-action@v2.0.0
145145
env:
146146
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
147147
with:
148148
channel-id: 'coding-exercise-queue'
149149
slack-message: ':white_check_mark: Deployment to *prod* succeeded'
150150

151151
- name: Notify Slack Failure
152-
uses: slackapi/slack-github-action@v1.26.0
152+
uses: slackapi/slack-github-action@v2.0.0
153153
if: ${{ failure() }}
154154
env:
155155
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 commit comments

Comments
 (0)