1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-12-22 14:25:59 +00:00

Add GitLab CI file

This commit is contained in:
Jake Howard 2020-09-30 17:43:41 +01:00
parent 58ba888a20
commit 09eb5947b6
Signed by: jake
GPG key ID: 57AFB45680EDD477

19
.gitlab-ci.yml Normal file
View 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