...
 
image: node:6
pages:
stage: deploy
script:
- npm install
- mv ./config/dev.env.example.js ./config/dev.env.js
- mv ./config/prod.env.example.js ./config/prod.env.js
- npm run build
- mv dist public
artifacts:
paths:
- public
only:
- master
\ No newline at end of file