Skip to content

Enable browser caching and improve performance. #97

Enable browser caching and improve performance.

Enable browser caching and improve performance. #97

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