From e4ea031d4690bcb889ed64d1bab4afbd2d55200d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E4=B8=AB=E8=AE=B2=E6=A2=B5?= Date: Wed, 22 Mar 2023 13:05:24 +0800 Subject: [PATCH] fix: dist to release (#42) --- .github/workflows/dist-to-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dist-to-release.yml b/.github/workflows/dist-to-release.yml index 90e214e..d9f14ba 100644 --- a/.github/workflows/dist-to-release.yml +++ b/.github/workflows/dist-to-release.yml @@ -22,7 +22,9 @@ jobs: node-version: 14 - run: | - yarn + sed -i 's@http://localhost:8888/@/@g' .env.production + git config --global url."https://".insteadOf git:// + npm install --registry=http://registry.npmmirror.com yarn build:prod - run: |