image: node:10

pages:
  script:
  - npm install
  - npm run metadata:generate
  - npm run build
  - mv ./bundle ./public
  - cp --recursive ./website/* ./public/

  artifacts:
    paths:
    - public

  only:
  - master
