Commit db13cd15 by chenway

add gitlab-ci

parent df84396d
Pipeline #158736 failed with stage
in 56 seconds
image: node:18.16.0-alpine # change to match your project's node version
build:
stage: build
tags:
- strikingly
cache:
paths:
- node_modules/
script:
- CI=false npm install
- CI=false npm run build
artifacts:
paths:
- build
pages:
stage: deploy
tags:
- strikingly
dependencies:
- build
script:
- rm -rf public
- cp build/index.html build/404.html
- mv build public
artifacts:
paths:
- public
only:
- master
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment