mirror of
https://github.com/ae-utbm/sith3.git
synced 2024-06-13 10:11:57 +00:00
21 lines
474 B
YAML
21 lines
474 B
YAML
name: Deploy to production
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: [Unit Testing]
|
|
types: [completed]
|
|
branches:
|
|
- actions
|
|
|
|
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' |