From 1c9c85d872532f5ba87f6bc1afc2465e1bdef3fe Mon Sep 17 00:00:00 2001 From: ruan-cat <1219043956@qq.com> Date: Wed, 21 Aug 2024 16:46:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci:=20=E4=B8=BA=20eslint-config-?= =?UTF-8?q?inspector=20=E9=85=8D=E7=BD=AE=E6=89=93=E5=8C=85=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E5=B7=A5=E4=BD=9C=E6=B5=81=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/use-vercel-cli-build-try-4.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/use-vercel-cli-build-try-4.yaml b/.github/workflows/use-vercel-cli-build-try-4.yaml index 2f13f83..f51575b 100644 --- a/.github/workflows/use-vercel-cli-build-try-4.yaml +++ b/.github/workflows/use-vercel-cli-build-try-4.yaml @@ -38,6 +38,10 @@ env: docs-01-star-url: docs-01-star.ruancat6312.top + eci-url-longest: eslint-config-inspector.ruan-cat-vercel-monorepo-test.ruancat6312.top + eci-url-medium: eci.ruancat-vc-monorepo.ruancat6312.top + eci-url-mini: eci.rc-vc.ruancat6312.top + on: push: branches: @@ -77,6 +81,7 @@ jobs: vc link --yes --cwd=${{env.p4}} --project=${{env.pjn}} -t ${{env.vct}} vc link --yes --cwd=${{env.p5}} --project=${{env.pjn}} -t ${{env.vct}} vc link --yes --cwd=${{env.docs01Star}} --project=${{env.pjn}} -t ${{env.vct}} + vc link --yes --cwd=${{env.eci}} --project=${{env.pjn}} -t ${{env.vct}} - name: vercel生成特定.vercel/output/static目录 # build命令仍然需要用token来运行。 @@ -88,6 +93,7 @@ jobs: vc build --yes --prod --cwd=${{env.p4}} -A ./vercel.null.json -t ${{env.vct}} vc build --yes --prod --cwd=${{env.p5}} -A ./vercel.null.json -t ${{env.vct}} vc build --yes --prod --cwd=${{env.docs01Star}} -A ./vercel.null.json -t ${{env.vct}} + vc build --yes --prod --cwd=${{env.eci}} -A ./vercel.null.json -t ${{env.vct}} - name: turbo并发打包全部子项目 run: pnpm run on-github-action-flow @@ -114,3 +120,8 @@ jobs: url01Star="$(vc deploy --yes --prebuilt --prod --cwd=${{env.docs01Star}} -t ${{env.vct}})" vc alias -t ${{env.vct}} set "$url01Star" ${{env.docs-01-star-url}} + + urlEci="$(vc deploy --yes --prebuilt --prod --cwd=${{env.eci}} -t ${{env.vct}})" + vc alias -t ${{env.vct}} set "$urlEci" ${{env.eci-url-longest}} + vc alias -t ${{env.vct}} set "$urlEci" ${{env.eci-url-medium}} + vc alias -t ${{env.vct}} set "$urlEci" ${{env.eci-url-mini}}