This commit is contained in:
ivamp 2023-12-11 00:01:17 +08:00
parent 7c8284aa9c
commit cb934c3444

View File

@ -6,12 +6,10 @@ 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 $CLOUDFLARE_ACCOUNT_ID
- echo $CLOUDFLARE_API_TOKEN
# - echo n | npx wrangler pages deploy dist --project-name=document-web
- yarn install
- yarn run build
- yarn add wrangler -g
- npx wrangler pages deploy dist --project-name=document-web
# artifacts:
# paths: