Skip to content

Commit f6e4db3

Browse files
authored
Update release-build.yml (#2480)
1 parent 724b0aa commit f6e4db3

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/release-build.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,16 @@ jobs:
101101
artifacts: "core/target/classes/com/predic8/membrane/core/config/json/membrane.schema.json,distribution/target/membrane-api-gateway-${{ steps.get_version.outputs.VERSION }}.zip,distribution/target/membrane-api-gateway-${{ steps.get_version.outputs.VERSION }}.zip.asc"
102102
token: ${{ secrets.PAT }}
103103

104-
- name: Trigger membrane api io pipeline
104+
- name: Trigger website pipeline on GitLab
105105
env:
106106
GITLAB_TRIGGER_TOKEN: ${{ secrets.GITLAB_TRIGGER_TOKEN }}
107107
run: |
108108
VERSION='${{ steps.get_version.outputs.VERSION }}'
109-
echo "Triggering GitLab pipeline for membrane-api.io with VERSION=${VERSION}"
110-
curl --request POST \
111-
--fail \
109+
curl -X POST --fail \
112110
--connect-timeout 10 \
113111
--max-time 30 \
114-
--form token="${GITLAB_TRIGGER_TOKEN}" \
115-
--form ref=main \
116-
--form "variables[MEMBRANE_VERSION]=${VERSION}" \
112+
-F token="${GITLAB_TRIGGER_TOKEN}" \
113+
-F ref=main \
114+
-F "variables[MEMBRANE_VERSION]=${VERSION}" \
117115
https://gitlab.predic8.de/api/v4/projects/prod%2Fmembrane-api.io/trigger/pipeline
118116

0 commit comments

Comments
 (0)