Fix bug where production image would fail to fetch ace-editor script. #92
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 |