Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

output API response

Markus Kahlaa5acbe08575
diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml
index 8e752dc0690..0cba2ed4afd 100644
--- a/.github/workflows/continuous-delivery.yml
+++ b/.github/workflows/continuous-delivery.yml
@@ -15,7 +15,8 @@ jobs:
SAAS_CD_WORKFLOW_ID: continuous-delivery-saas.yml
SAAS_REPOSITORY: opf/saas-openproject
run: |
- curl -H"authorization: Bearer $TOKEN" \
+ curl --fail -H"authorization: Bearer $TOKEN" \
-XPOST -H"Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/$SAAS_REPOSITORY/actions/workflows/$SAAS_CD_WORKFLOW_ID/dispatches \
- -d '{"ref": "${{ github.ref }}"}'
+ -d '{"ref": "${{ github.ref }}"}' > out.log
+ cat out.log