summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3a19e81..235a48b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,9 +5,6 @@ stages:
- trigger
build-job:
- only:
- refs:
- - main
stage: build
script:
- stack build
@@ -17,10 +14,14 @@ build-job:
artifacts:
paths:
- dist
+ variables:
+ STACK_ROOT: "${CI_PROJECT_DIR}/.stack-root"
cache:
- key: '$CI_JOB_NAME-$CI_COMMIT_REF_SLUG'
+ key: '$CI_JOB_NAME-stack-cache'
paths:
- - dist
+ - .stack-work/
+ - .stack-root/
+
trigger-mapservice-pipeline:
only: