diff --git a/.github/workflows/use-vercel-cli-build-try-4.yaml b/.github/workflows/use-vercel-cli-build-try-4.yaml index f033fa1..695050b 100644 --- a/.github/workflows/use-vercel-cli-build-try-4.yaml +++ b/.github/workflows/use-vercel-cli-build-try-4.yaml @@ -77,7 +77,19 @@ jobs: - name: turbo并发打包全部子项目 run: pnpm run on-github-action-flow - - name: 各只子项目上传文件并部署到vercel内 + - name: 各子项目上传文件并部署到vercel内 run: | - url="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p1}} -t ${{env.vct}})" - vc alias -t ${{env.vct}} set "$url" ${{env.p1-url}} + url-1="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p1}} -t ${{env.vct}})" + vc alias -t ${{env.vct}} set "$url-1" ${{env.p1-url}} + + url-2="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p2}} -t ${{env.vct}})" + vc alias -t ${{env.vct}} set "$url-2" ${{env.p2-url}} + + url-3="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p3}} -t ${{env.vct}})" + vc alias -t ${{env.vct}} set "$url-3" ${{env.p3-url}} + + url-4="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p4}} -t ${{env.vct}})" + vc alias -t ${{env.vct}} set "$url-4" ${{env.p4-url}} + + url-5="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p5}} -t ${{env.vct}})" + vc alias -t ${{env.vct}} set "$url-5" ${{env.p5-url}}