Sith/.github/workflows/deploy.yml

21 lines
473 B
YAML
Raw Normal View History

name: Deploy to production
on:
workflow_run:
workflows: [Unit Testing]
types: [completed]
branches:
2022-08-25 20:46:30 +00:00
- master
jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- run: echo 'The triggering workflow passed'
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo 'The triggering workflow failed'