Commit a3dbdabe by chenway

Update .gitlab-ci.yml

parent cdc404f3
Pipeline #158750 passed with stages
in 1 minute 58 seconds
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
...@@ -29,4 +29,4 @@ pages: ...@@ -29,4 +29,4 @@ pages:
paths: paths:
- public - public
only: only:
- master - main
\ No newline at end of file \ 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