Add gitlab pages CI
This commit is contained in:
parent
80af0b9d5c
commit
bfc50d976a
1 changed files with 22 additions and 0 deletions
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# The Docker image that will be used to build your app
|
||||||
|
image: node:lts
|
||||||
|
|
||||||
|
pages:
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- node_modules/
|
||||||
|
script:
|
||||||
|
# Specify the steps involved to build your app here
|
||||||
|
- npm install
|
||||||
|
- npm run build
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
# The folder that contains the built files to be published.
|
||||||
|
# This must be called "public".
|
||||||
|
- public
|
||||||
|
|
||||||
|
only:
|
||||||
|
# Trigger a new build and deploy only when there is a push to the
|
||||||
|
# branch(es) below
|
||||||
|
- main
|
Loading…
Add table
Reference in a new issue