This commit is contained in:
ivamp 2023-12-10 23:58:17 +08:00
parent 62355d8a1d
commit 7c8284aa9c

View File

@ -6,11 +6,13 @@ node-build:
stage: build_and_deploy stage: build_and_deploy
script: script:
- yarn config set registry https://registry.npm.taobao.org/ - yarn config set registry https://registry.npm.taobao.org/
- yarn install # - yarn install
- yarn run build # - yarn run build
- yarn add wrangler -g # - yarn add wrangler -g
- echo n | npx wrangler pages deploy dist --project-name=document-web - echo $CLOUDFLARE_ACCOUNT_ID
- echo $CLOUDFLARE_API_TOKEN
# - echo n | npx wrangler pages deploy dist --project-name=document-web
artifacts: # artifacts:
paths: # paths:
- dist # - dist