Commit cdc404f3 by chenway

Update .gitlab-ci.yml

parent ac8b4b57
image: node:18.16.0-alpine # change to match your project's node version image: node:18.16.0-alpine # change to match your project's node version
build: # build:
stage: build # stage: build
tags: # tags:
- strikingly # - strikingly
cache: # cache:
paths: # paths:
- node_modules/ # - node_modules/
script: # script:
- CI=false npm install # - CI=false npm install
- CI=false npm run build # - CI=false npm run build
artifacts: # artifacts:
paths: # paths:
- build # - build
pages: pages:
stage: deploy stage: deploy
tags: tags:
- strikingly - strikingly
dependencies: # dependencies:
- build # - build
script: script:
- rm -rf public - rm -rf public
- cp build/index.html build/404.html - cp build/index.html build/404.html
......
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