This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
Update image name in docker-compose.yml and add timeout to /report/?l… #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger GitLab dev build job | |
on: | |
push: | |
branches: | |
- dev | |
env: | |
GITLAB_PIPELINE_TRIGGER_TOKEN: ${{ secrets.GITLAB_PIPELINE_TRIGGER_TOKEN }} | |
jobs: | |
trigger_build_job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: send triggering request | |
run: | | |
curl -X POST \ | |
--fail \ | |
-F "token=$GITLAB_PIPELINE_TRIGGER_TOKEN" \ | |
-F "ref=main" \ | |
-F "variables[REPO]=${{github.repository}}" \ | |
https://gitlab.kuleuven.be/api/v4/projects/17581/trigger/pipeline |