CI config
This commit is contained in:
parent
d1671bbc66
commit
efd0e7cf53
2 changed files with 20 additions and 0 deletions
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
image: node:latest
|
||||
|
||||
# allow caching for faster deployment
|
||||
cache:
|
||||
paths:
|
||||
- node_modules/
|
||||
- public/
|
||||
- .cache/
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- yarn install
|
||||
- yarn build:gitlab
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- main
|
||||
Loading…
Add table
Add a link
Reference in a new issue