Skip to content

Commit

Permalink
Trigger gitlab CI when pushing to github
Browse files Browse the repository at this point in the history
This is just a test to learn how github actions work
  • Loading branch information
lmoellendorf committed Feb 11, 2024
1 parent 56e73ff commit e42f9a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/trigger-gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: trigger-gitlab-ci
run-name: ${{ github.event_name }} triggered by ${{ github.actor }}
on: [push]
job:
trigger-gitlab-ci:
runs-on: debian-latest
steps:
- name: Trigger CI
run: curl -X POST --fail -F token=${{ secrets.TRIGGER_GITLAB_CI }} -F ref=${{ github.GITHUB_REF }} https://gitlab.com/api/v5/projects/42797718/trigger/pipeline

0 comments on commit e42f9a6

Please sign in to comment.