Merge pull request #566 from baobabsoluciones/release/v1.1.3 #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notify slack channel of new deployment | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
notify: | |
name: Notify slack channel | |
runs-on: ubuntu-latest | |
steps: | |
- name: Notify slack channel | |
uses: slackapi/[email protected] | |
with: | |
slack-message: "A new image of cornflow server is being built and should be deployed in around 30 minutes (in the development server)" | |
channel-id: ${{ secrets.SLACK_CHANNEL }} | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }} |