Skip to content

Commit 39c47a0

Browse files
committed
chore: fix env.VITE_VERCEL_ENV for prod
1 parent 72169aa commit 39c47a0

7 files changed

Lines changed: 17 additions & 0 deletions

.github/workflows/sharevb-docker-nightly-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Docker nightly release
22

3+
env:
4+
VITE_VERCEL_ENV: production
5+
36
on:
47
workflow_dispatch:
58
schedule:

.github/workflows/sharevb-docker-realease-baseurl-it-tools.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build and Push Docker Image (baseurl-it-tools)
22

3+
env:
4+
VITE_VERCEL_ENV: production
5+
36
on:
47
push:
58
branches:

.github/workflows/sharevb-docker-realease-latest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build and Push Docker Image (latest)
22

3+
env:
4+
VITE_VERCEL_ENV: production
5+
36
on:
47
push:
58
branches:

.github/workflows/sharevb-github-pages-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Deploy static content to Pages
22

3+
env:
4+
VITE_VERCEL_ENV: production
5+
36
on:
47
# Runs on pushes targeting the default branch
58
push:

.github/workflows/sharevb-releases.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Release new versions
22

3+
env:
4+
VITE_VERCEL_ENV: production
5+
36
on:
47
push:
58
tags:

.github/workflows/sharevb-vercel-preview.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Vercel Preview Deployment
22
env:
33
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
44
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
5+
VITE_VERCEL_ENV: preview
56
on:
67
push:
78
branches-ignore:

.github/workflows/sharevb-vercel-prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Vercel Production Deployment
22
env:
33
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
44
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
5+
VITE_VERCEL_ENV: production
56
on:
67
push:
78
branches:

0 commit comments

Comments
 (0)