feat: point production host at project57 embed JS [deploy]
This commit is contained in:
1 parent
076e603c93
commit
f717f1d481
4 files changed
+14
-10
No files matched your search
@@ -130,10 +130,10 @@ jobs:
|
||||
VITE_A_ORIGIN: ${{ secrets.VITE_A_ORIGIN }}
|
||||
run: |
|
||||
if [ -z "${VITE_A_ORIGIN}" ]; then
|
||||
echo "❌ 未配置 Secret VITE_A_ORIGIN(A 站源站,如 https://swissicapital.net)"
|
||||
exit 1
|
||||
echo "ℹ️ Secret VITE_A_ORIGIN 未配置,改用 .env.production"
|
||||
else
|
||||
echo "VITE_A_ORIGIN=${VITE_A_ORIGIN}"
|
||||
fi
|
||||
echo "VITE_A_ORIGIN=${VITE_A_ORIGIN}"
|
||||
pnpm build
|
||||
echo "✅ Build completed"
|
||||
if [ -d "dist" ] && [ -f "dist/index.html" ]; then
|
||||
|
||||
Reference in new issue
Block a user