Skip to content

Commit 2f0dba9

Browse files
committed
fix: #47 adding deployment notifications
1 parent 5cd0017 commit 2f0dba9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/CD-time-tracker-ui.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ jobs:
4444
publish-profile: ${{ secrets.AzureAppService_PublishProfile_728dc744f9384bf38e8a0446aaaee29d }}
4545
package: dist/time-tracker
4646

47-
- uses: actions/checkout@v2
4847
- name: Slack Notification
49-
uses: rtCamp/[email protected]
48+
uses: wei/curl@v1
5049
env:
5150
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
52-
SLACK_TITLE: 'New deployment: '
53-
SLACK_MESSAGE: 'A new version has been deployed.'
51+
with:
52+
args: -X POST $SLACK_WEBHOOK --data '{"message":"A new deployment has been successfully executed"}'
5453

0 commit comments

Comments
 (0)