feat: proxy embed assets to in-cluster project57 [deploy]
This commit is contained in:
1 parent
f717f1d481
commit
fe18e608dc
8 files changed
+67
-36
No files matched your search
@@ -126,14 +126,7 @@ jobs:
|
||||
|| pnpm install --frozen-lockfile --prefer-offline --registry=https://registry.npmjs.org
|
||||
|
||||
- name: Build Vite application
|
||||
env:
|
||||
VITE_A_ORIGIN: ${{ secrets.VITE_A_ORIGIN }}
|
||||
run: |
|
||||
if [ -z "${VITE_A_ORIGIN}" ]; then
|
||||
echo "ℹ️ Secret VITE_A_ORIGIN 未配置,改用 .env.production"
|
||||
else
|
||||
echo "VITE_A_ORIGIN=${VITE_A_ORIGIN}"
|
||||
fi
|
||||
pnpm build
|
||||
echo "✅ Build completed"
|
||||
if [ -d "dist" ] && [ -f "dist/index.html" ]; then
|
||||
|
||||
Reference in new issue
Block a user