ci: build staging bundle for preview
This commit is contained in:
parent
5833e5a76b
commit
ab99cf465b
1 changed files with 5 additions and 0 deletions
|
@ -28,8 +28,13 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: pnpm i
|
||||
|
||||
- name: Build Dist (Staging)
|
||||
run: pnpm dist -m staging
|
||||
if: env.GITHUB_REF_NAME == 'master'
|
||||
|
||||
- name: Build Dist
|
||||
run: pnpm dist
|
||||
if: env.GITHUB_REF_NAME != 'master'
|
||||
|
||||
- name: Depoly to Preview
|
||||
uses: https://github.com/cloudflare/wrangler-action@v3
|
||||
|
|
Loading…
Reference in a new issue