cache: paths: - node_modules - output - bower_components - _cache - .stack stages: - install_purescript - prepare_site - pages install_purescript: image: node:latest stage: install_purescript script: - npm install bower - npm install purescript - npm install pulp - export PATH=node_modules/.bin:$PATH; - bower install --allow-root prepare_site: image: haskell:latest stage: prepare_site script: - apt-get update && apt-get install xz-utils make - export STACK_ROOT=`pwd`/.stack - stack setup - stack install --only-dependencies pages: image: haskell:latest stage: pages script: - stack build - stack exec cooking build artifacts: paths: - public only: - master