Skip to content

Commit

Permalink
🐎 ci: 尝试将部署拆分成几个小部分;
Browse files Browse the repository at this point in the history
  • Loading branch information
ruan-cat committed Jun 30, 2024
1 parent 3d0b1da commit 4665b99
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/use-vercel-cli-build-try-4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,32 @@ jobs:
- name: turbo并发打包全部子项目
run: pnpm run on-github-action-flow

- name: 各子项目上传文件并部署到vercel内
# - name: 各子项目上传文件并部署到vercel内
# run: |
# url-1="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p1}} -t ${{env.vct}})"
# vc alias -t ${{env.vct}} set "$url-1" ${{env.p1-url}}

- name: 1
run: |
url-1="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p1}} -t ${{env.vct}})"
vc alias -t ${{env.vct}} set "$url-1" ${{env.p1-url}}
- name: 2
run: |
url-2="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p2}} -t ${{env.vct}})"
vc alias -t ${{env.vct}} set "$url-2" ${{env.p2-url}}
- name: 3
run: |
url-3="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p3}} -t ${{env.vct}})"
vc alias -t ${{env.vct}} set "$url-3" ${{env.p3-url}}
- name: 4
run: |
url-4="$(vc deploy --yes --prebuilt --prod --cwd=${{env.p4}} -t ${{env.vct}})"
vc alias -t ${{env.vct}} set "$url-4" ${{env.p4-url}}
- name: 5
run: |
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 4665b99

Please sign in to comment.