mirror of https://github.com/docker/docs.git
Merge pull request #10564 from docker/send-slack
ci: Send slack after successful publish
This commit is contained in:
commit
dabe60a304
|
|
@ -30,3 +30,9 @@ jobs:
|
|||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
if: github.repository == 'docker/docker.github.io' && github.event_name == 'push'
|
||||
- name: send slack notification
|
||||
run: |
|
||||
curl -X POST -H 'Content-type: application/json' --data '{"text":"Successfully promoted docs-stage from master. https://docs-stage.docker.com/"}' $SLACK
|
||||
env:
|
||||
SLACK: ${{ secrets.SLACK_WEBHOOK }}
|
||||
if: github.repository == 'docker/docker.github.io' && github.event_name == 'push'
|
||||
|
|
|
|||
|
|
@ -30,3 +30,9 @@ jobs:
|
|||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
if: github.repository == 'docker/docker.github.io' && github.event_name == 'push'
|
||||
- name: send slack notification
|
||||
run: |
|
||||
curl -X POST -H 'Content-type: application/json' --data '{"text":"Successfully published docs. https://docs.docker.com/"}' $SLACK
|
||||
env:
|
||||
SLACK: ${{ secrets.SLACK_WEBHOOK }}
|
||||
if: github.repository == 'docker/docker.github.io' && github.event_name == 'push'
|
||||
|
|
|
|||
Loading…
Reference in New Issue