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 42a8cc8 commit ddda3cbCopy full SHA for ddda3cb
.github/workflows/.deployer.yml
@@ -66,7 +66,7 @@ jobs:
66
environment: ${{ inputs.environment }}
67
runs-on: ubuntu-22.04
68
outputs:
69
- tag: ${{ steps.triggers.outputs.triggered }}
+ triggered: ${{ steps.triggers.outputs.triggered }}
70
steps:
71
### Triggers, tag and release
72
.github/workflows/pr-open.yml
@@ -39,3 +39,17 @@ jobs:
39
secrets:
40
oc_namespace: ${{ secrets.oc_namespace }}
41
oc_token: ${{ secrets.oc_token }}
42
+
43
+ results:
44
+ name: Results
45
+ needs: [deploys]
46
+ runs-on: ubuntu-22.04
47
+ steps:
48
+ - if: needs.deploys.outputs.triggered == 'true'
49
+ run: echo "Success!"
50
51
+ - if: needs.deploys.outputs.triggered != 'true'
52
+ run: |
53
+ # Handle fail
54
+ echo "needs.deploys == ${{ toJson(needs.deploys) }}"
55
+ exit 1
0 commit comments