image: digitallyseamless/nodejs-bower-grunt

pages:
  stage: deploy
  only:
    - gitlab-pages
  script:
    - npm install --global npm@latest
    - npm install --global yo
    - npm install -g grunt-cli
    - npm install -g generator-reveal
    - npm install -g bower
    - npm install
    - grunt dist
    - ls
    - ls public

  cache:
    paths:
    - node_modules/
    - bower_components/

  artifacts:
    paths:
      - public
