Merge pull request #5187 from systeminit/z_index #713
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 }} |