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