We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3e8835 commit aa926dcCopy full SHA for aa926dc
.github/workflows/cd.yml
@@ -16,6 +16,9 @@ on:
16
jobs:
17
deployment:
18
runs-on: ubuntu-latest
19
+ # only run if CI workflow completed successfully
20
+ # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow
21
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
22
environment: staging
23
steps:
24
- name: Deploy
0 commit comments