Skip to content

Trigger gitlab CI when pushing to github #2

Trigger gitlab CI when pushing to github

Trigger gitlab CI when pushing to github #2

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