image: docker:stable

stages:
  - build
  - deploy

build:
  stage: build
  image: node:8.6.0-alpine
  script:
    - apk add --update git python2 py-setuptools
    - easy_install-2.7 pip
    - pip install mkdocs mkdocs-material 
    - yarn install
    - cp config/environment.js.tpl config/environment.js
    - ./node_modules/.bin/ember khartis:build --environment=production --thumbnails=false
  environment:
    name: $CI_COMMIT_REF_SLUG
  artifacts:
    paths:
    - dist
    expire_in: 1 week
  only:
    - staging
    - production

Add Gitlab CI config to build
Add Gitlab CI config to build
