Commit e2e023d5 authored by mrodzis's avatar mrodzis 🌎
Browse files

ci: use cURL instead of trigger keyword

parent d471fd48
stages:
- build
- update_backend
- deploy
# build the frontend viewer with a custom index.html
build:
image: node:latest
stage: build
trigger:
project: subugoe/ahiqar/backend
branch: develop
variables:
# when we want to include the frontend-templating, we have to use recursive
GIT_SUBMODULE_STRATEGY: normal
......@@ -23,6 +21,15 @@ build:
paths:
- Qviewer/dist/spa
update:
image: docker.gitlab.gwdg.de/fontane-notizbuecher/build:latest
stage: update_backend
# only:
# - master
# - develop
script:
- curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=develop https://gitlab.gwdg.de/api/v4/projects/9384/trigger/pipeline
# when a git flow release is made, a tag will be pushed starting this job. it
# will keep the resulting artifact from the job declared in `JOB_NUMBER_TO_PRESERVE`
# and it will set up a Gitlab release at the repo. therefore the merge message starting
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment