Skip to content

Commit eeafd4d

Browse files
committed
fix: report pipeline status
1 parent 9c142d8 commit eeafd4d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/actions/deployment-reporting/action.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
with:
1919
name: manifests.yaml
2020
path: manifests.yaml
21-
21+
2222
- name: Notify deployment end
2323
uses: bobheadxi/deployments@v1
2424
if: ${{ env.DEPLOYMENT_OK == 'true' }}
@@ -34,3 +34,12 @@ runs:
3434
uses: socialgouv/kontinuous/.github/actions/debug-manifests@v1.96.10
3535
with:
3636
token: ${{ inputs.token }}
37+
38+
- name: Report pipeline status
39+
shell: bash
40+
run: |
41+
if [ "$DEPLOYMENT_OK" != "true" ]; then
42+
echo "Pipeline failed"
43+
echo 'see "Kontinupus Pipeline" step to inspect full logs'
44+
exit 1
45+
fi

0 commit comments

Comments
 (0)