blog/.gitlab-ci.yml
Sanchayan Maity e07808142d gitlab-ci: Update CI configuration
Use system ghc and also cache .stack-work.
2020-12-17 13:03:42 +05:30

22 lines
360 B
YAML

image: haskell:8.6.3
variables:
STACK_ROOT: $CI_PROJECT_DIR/.stack
pages:
cache:
paths:
- _cache
- .stack
- .stack-work
before_script:
- stack --system-ghc install --only-dependencies
- stack --system-ghc build
script:
- stack --system-ghc exec site build
artifacts:
paths:
- public
only:
- master