1
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-06-29 05:46:59 +01: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