mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 20:16:14 +00:00
Add GitLab CI file
This commit is contained in:
parent
58ba888a20
commit
09eb5947b6
1 changed files with 19 additions and 0 deletions
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
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
|
Loading…
Reference in a new issue