diff --git a/.github/workflows/deploy-production-container.yml b/.github/workflows/deploy-production-container.yml index 3368aa91c..44177af87 100644 --- a/.github/workflows/deploy-production-container.yml +++ b/.github/workflows/deploy-production-container.yml @@ -125,6 +125,12 @@ jobs: working-directory: infrastructure/terragrunt/env/prod/ecs run: terragrunt apply --terragrunt-non-interactive -auto-approve + - name: Post to slack + if: success() + run: | + json='{"blocks":[{"type":"section","text":{"type":"mrkdwn","text":":lapage: New GC Articles !"}}]}' + curl -X POST -H 'Content-type: application/json' --data "$json" ${{ secrets.SLACK_WEBHOOK_WEBSITE_INFINITE }} + - name: Report deployment to Sentinel if: always() uses: cds-snc/sentinel-forward-data-action@main