We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc29d19 commit 9a93787Copy full SHA for 9a93787
.github/workflows/cd.yaml
@@ -19,6 +19,8 @@ on:
19
required: true
20
ssh_key:
21
22
+ slack_webhook:
23
+ required: true
24
25
jobs:
26
deploy:
@@ -48,4 +50,4 @@ jobs:
48
50
49
51
curl -X POST -H 'Content-type: application/json' \
52
--data '{"text":"New image deployed to ${{ inputs.SSH_HOST }}: `${{ inputs.image }}`"}' \
- https://hooks.slack.com/services/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
53
+ ${{ secrets.slack_webhook }}
.github/workflows/ci.yaml
@@ -55,4 +55,5 @@ jobs:
55
ssh_key: ${{ secrets.SSH_KEY_PROD }}
56
ts_oauth_client_id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
57
ts_oauth_secret: ${{ secrets.TS_OAUTH_SECRET }}
58
+ slack_webhook: ${{secrets.SLACK_NOTIFY_WEBHOOK }}
59
0 commit comments