image: haskell:latest

pages:
  cache:
    paths:
      - _cache
      - .stack
      - $HOME/.stack
  before_script:
    - apt-get update
    - bash -c "yes | apt-get install git"
    - export STACK_ROOT=`pwd`/.stack
    - stack setup
    - stack build
  script:
    - stack exec site clean
    - stack exec site build
  after_script:
    - mv _site public
  artifacts:
    paths:
      - public
  only:
    - master

image: haskell:8.0.1

pages:
  cache:
    paths:
      - _cache
      - .stack
      - $HOME/.stack
  before_script:
    - apt-get update
    - bash -c "yes | apt-get install git"
    - export STACK_ROOT=`pwd`/.stack
    - stack setup
    - stack build
  script:
    - stack exec site clean
    - stack exec site build
  after_script:
    - mv _site public
  artifacts:
    paths:
      - public
  only:
    - master

Move to fixed docker version
Move to fixed docker version
