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

Revert "Remove saas CD trigger"

Markus Kahlbcf42c9b9bad
diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml
index e1139a5baf4..4a99998a635 100644
--- a/.github/workflows/continuous-delivery.yml
+++ b/.github/workflows/continuous-delivery.yml
@@ -14,6 +14,17 @@ jobs:
if: github.repository == 'opf/openproject'
runs-on: ubuntu-latest
steps:
+ - name: Trigger SaaS workflow
+ env:
+ TOKEN: ${{ secrets.OPENPROJECT_CI_TOKEN }}
+ REPOSITORY: opf/saas-openproject
+ WORKFLOW_ID: continuous-delivery-saas.yml
+ run: |
+ curl -i --fail-with-body -H"authorization: Bearer $TOKEN" \
+ -XPOST -H"Accept: application/vnd.github.v3+json" \
+ https://api.github.com/repos/$REPOSITORY/actions/workflows/$WORKFLOW_ID/dispatches \
+ -d '{"ref": "${{ github.ref }}"}'
+
- name: Trigger Flavours workflow
env:
TOKEN: ${{ secrets.OPENPROJECT_CI_TOKEN }}