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
script:
- yarn config set registry https://registry.npm.taobao.org/
- yarn install
- yarn run build
- yarn add wrangler -g
- echo n | npx wrangler pages deploy dist --project-name=document-web
# - yarn install
# - yarn run build
# - yarn add wrangler -g
- echo $CLOUDFLARE_ACCOUNT_ID
- echo $CLOUDFLARE_API_TOKEN
# - echo n | npx wrangler pages deploy dist --project-name=document-web
artifacts:
paths:
- dist
# artifacts:
# paths:
# - dist