Skip to content

Commit

Permalink
Add Github workflow to trigger Gitlab CI on pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoellendorf committed Feb 15, 2024
1 parent 6941547 commit d624cd7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/trigger-gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: trigger-gitlab-ci
run-name: ${{ github.event_name }} triggered by ${{ github.actor }}

on: [push]

jobs:
trigger-gitlab-ci:
runs-on: ubuntu-latest
steps:
- name: Trigger CI
run: curl -X POST --fail -F token=${{ secrets.TRIGGER_GITLAB_CI }} -F ref=main https://gitlab.com/api/v4/projects/54782732/trigger/pipeline

0 comments on commit d624cd7

Please sign in to comment.