.gitlab-ci.yml 296 Bytes
Newer Older
1
image: haskell:8.8
Colin Webb's avatar
Colin Webb committed
2 3 4

before_script:
  - apt-get update && apt-get install xz-utils make
Colin Webb's avatar
Colin Webb committed
5

Colin Webb's avatar
Colin Webb committed
6
pages:
Colin Webb's avatar
Colin Webb committed
7 8 9 10
  cache:
    paths:
      - _cache
      - .stack-work
Colin Webb's avatar
Colin Webb committed
11
  script:
Colin Webb's avatar
Colin Webb committed
12
  - stack setup
Colin Webb's avatar
Colin Webb committed
13 14 15
  - stack build
  - stack exec site build
  - mv _site public
Colin Webb's avatar
Colin Webb committed
16 17
  artifacts:
    paths:
Colin Webb's avatar
Colin Webb committed
18
    - public
Colin Webb's avatar
Colin Webb committed
19 20
  only:
    - master