Fix workflow dispatch for openproject-flavours

pull/11755/head
Cyril Rohr 2 years ago
parent 1db90c9324
commit c2ec1a256c
No known key found for this signature in database
GPG Key ID: 4F06363B8C22B3B9
  1. 3
      .github/workflows/continuous-delivery.yml

@ -30,8 +30,9 @@ jobs:
TOKEN: ${{ secrets.OPENPROJECT_CI_TOKEN }}
REPOSITORY: opf/openproject-flavours
WORKFLOW_ID: ci.yml
CORE_REF: ${{ github.ref }}
run: |
curl -i --fail -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 }}"}'
-d '{"ref": "master", "inputs": { "ref" : "$CORE_REF" }}'
Loading…
Cancel
Save