Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Merge branch 'dswan36-workfloworg-bettertmate' into dswan36-workflowo…
Browse files Browse the repository at this point in the history
…rg-bettertmate-test
  • Loading branch information
Damian Swan authored Jun 4, 2024
2 parents 5f633f0 + bd29d3b commit 57d4a3a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ jobs:
run: exit 1
- if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
- if: ${{ failure() }}
run: |
if [ $? -ne 0 ]; then
gh issue comment ${{ github.event.number }} -F body="**Deployment to Preview Channel Failed!**
This pull request could not be deployed to the preview channel. Because of this, a tmate session has spawned!"
7 changes: 7 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,10 @@ jobs:
channelId: live
- if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
- if: ${{ failure() }}
run: |
if [ $? -ne 0 ]; then
gh issue comment ${{ github.event.number }} -F body="**Deployment to Production Channel Failed!**
This pull request could not be deployed to the production channel. Because of this, a tmate session has spawned!"

0 comments on commit 57d4a3a

Please sign in to comment.