1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-11-16 21:59:03 +00:00
notes/.gitlab-ci.yml

20 lines
283 B
YAML
Raw Normal View History

2020-09-30 17:43:41 +01:00
image: "node:lts-slim"
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
2020-09-30 20:09:20 +01:00
- $(npm config get cache)
2020-09-30 19:55:22 +01:00
- ./.cache
2020-09-30 17:43:41 +01:00
pages:
stage: deploy
script:
2020-09-30 20:09:20 +01:00
- npm config get cache
2020-09-30 17:43:41 +01:00
- npm ci --production
- npm run release
artifacts:
paths:
- public
only:
- master