This commit is contained in:
parent
814ac07581
commit
b2b84a9e5b
5 changed files with 22 additions and 0 deletions
|
@ -33,10 +33,14 @@ jobs:
|
|||
- name: Build Dist (Staging)
|
||||
run: bun dist -m staging
|
||||
if: env.GITHUB_REF_NAME == 'master'
|
||||
env:
|
||||
VITE_CODE_VERSION: ${{ env.GITHUB_SHA }}
|
||||
|
||||
- name: Build Dist
|
||||
run: bun dist
|
||||
if: env.GITHUB_REF_NAME != 'master'
|
||||
env:
|
||||
VITE_CODE_VERSION: ${{ env.GITHUB_SHA }}
|
||||
|
||||
- name: Depoly to Preview
|
||||
uses: https://github.com/cloudflare/wrangler-action@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue