build: add .gitlab-ci.yml

This commit is contained in:
Felix Schröter 2022-08-01 21:16:54 +02:00
parent 2b3b7dd3e6
commit 67a6ed382d
Signed by: felschr
GPG key ID: 671E39E6744C807D

18
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,18 @@
image: node:latest
cache:
paths:
- node_modules/
- .cache/
- public/
pages:
stage: deploy
script:
- npm install
- ./node_modules/.bin/gatsby build --prefix-paths
artifacts:
paths:
- public
only:
- main