Skip to content

Trigger gitlab CI when pushing to github #1

Trigger gitlab CI when pushing to github

Trigger gitlab CI when pushing to github #1

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

Check failure on line 8 in .github/workflows/trigger-gitlab-ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/trigger-gitlab-ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
run: curl -X POST --fail -F token=${{ secrets.TRIGGER_GITLAB_CI }} -F ref=${{ github.GITHUB_REF }} https://gitlab.com/api/v4/projects/42797718/trigger/pipeline