Skip to content

Commit

Permalink
🐎 ci: 提供各自部署的url路径,检查vercel并发部署的等待行为;
Browse files Browse the repository at this point in the history
  • Loading branch information
ruan-cat committed Jun 30, 2024
1 parent 0d54a2b commit 3d0b1da
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/use-vercel-cli-build-try-4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

0 comments on commit 3d0b1da

Please sign in to comment.