Skip to content

jordanguedj is testing out GitHub Actions 🚀 #1

jordanguedj is testing out GitHub Actions 🚀

jordanguedj is testing out GitHub Actions 🚀 #1

name: Trigger Gitlab CI/CD pipeline
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
trigger-gitlab-pipeline:
runs-on: ubuntu-latest
steps:
- name: trigger Gitlab pipeline
run: |
curl --request POST \
--form token=wwwwwwwwwwwwwwww \
--form ref=ci-create-release \
--form variables[API_CALL]="true" \
--form variables[REPOSITORY_URL]="[email protected]:etalab/data.gouv.fr/simple-scaffold.git" \
--form variables[REPOSITORY_NAME]="simple-scaffold" \
--form variables[RELEASE_VERSION]="1.0.0" \
"https://gitlab.com/api/v4/projects/15835569/trigger/pipeline"