mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-11-16 21:59:03 +00:00
19 lines
259 B
YAML
19 lines
259 B
YAML
image: "node:lts-slim"
|
|
|
|
cache:
|
|
key: ${CI_COMMIT_REF_SLUG}
|
|
paths:
|
|
- node_modules/
|
|
- .cache/
|
|
- public/
|
|
|
|
pages:
|
|
stage: deploy
|
|
script:
|
|
- npm ci --production
|
|
- npm run release
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
only:
|
|
- master
|