Merge pull request #5102 from systeminit/fix/api-test-adjustment #651
Workflow file for this run
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: Deploy Main | |
on: | |
push: | |
tags: | |
- 'release/*' | |
jobs: | |
deploy-tools-prod: | |
uses: ./.github/workflows/deploy-stack.yml | |
with: | |
environment: tools | |
version: stable | |
secrets: inherit | |
on-failure: | |
runs-on: ubuntu-latest | |
needs: deploy-tools-prod | |
environment: tools | |
if: failure() | |
steps: | |
- run: | | |
curl -X POST \ | |
-H 'Content-type: application/json' \ | |
--data "{\"text\": \":si: Deployment to tools failed: <https://github.com/systeminit/si/actions/runs/$GITHUB_RUN_ID|:ship: Link>\"}" ${{ secrets.SLACK_WEBHOOK_URL }} |