covcharts/.gitlab-ci.yml
2020-04-24 18:50:37 +02:00

18 lines
587 B
YAML

pages: # the job must be named pages
image: node:latest
stage: deploy
script:
#- npm ci
- npm install --progress=false
- npm run build
- mv public public-vue # GitLab Pages hooks on the public folder
- mv dist public # rename the dist folder (result of npm run build)
# optionally, you can activate gzip support wih the following line:
- find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -exec gzip -f -k {} \;
artifacts:
paths:
- public # artifact path must be /public for GitLab Pages to pick it up
only:
- master