This will notify rubik's slack channel when this workflow starts and finishes.
This commit is contained in:
Darren Ethier 2020-07-29 07:36:33 -04:00 committed by GitHub
parent a0b28f2a06
commit ae1e2c3dcd
1 changed files with 11 additions and 0 deletions

View File

@ -6,7 +6,13 @@ jobs:
tag:
name: New Release
runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- uses: act10ns/slack@v1
with:
status: starting
if: always()
- name: Checkout code
uses: actions/checkout@v2
- name: WordPress Plugin Deploy
@ -27,3 +33,8 @@ jobs:
asset_path: ${{github.workspace}}/woo-gutenberg-products-block.zip
asset_name: woo-gutenberg-products-block.zip
asset_content_type: application/zip
- uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
if: always()