We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 854721b + 7063f91 commit ae22591Copy full SHA for ae22591
.github/workflows/trigger-gitlab.yml
@@ -0,0 +1,18 @@
1
+name: Trigger GitLab pipeline
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ trigger-gitlab-pipeline:
10
+ name: Trigger GitLab pipeline
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Trigger GitLab pipeline 🚀
14
+ run: |
15
+ curl -X POST \
16
+ -F token=${{ secrets.GITLAB_TRIGGER_TOKEN }} \
17
+ -F ref=${{ secrets.GITLAB_PROJECT_REF }} \
18
+ https://${{ secrets.GITLAB_URL }}/api/v4/projects/${{ secrets.GITLAB_PROJECT_ID }}/trigger/pipeline
0 commit comments