image: haskell:8.10.7 stages: - build - trigger build-job: only: refs: - main stage: build script: - stack build - mkdir dist - stack install --local-bin-path dist - cp config.json dist artifacts: paths: - dist cache: key: '$CI_JOB_NAME-$CI_COMMIT_REF_SLUG' paths: - dist trigger-mapservice-pipeline: only: refs: - main stage: trigger script: - curl -X POST -F token=$MAPSERVICE_TOKEN -F ref=main https://git.cccv.de/api/v4/projects/252/trigger/pipeline