We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e994a6d commit 1a9a3dcCopy full SHA for 1a9a3dc
1 file changed
.github/workflows/test-deploy.yml
@@ -193,19 +193,7 @@ jobs:
193
id: deploy-mobile
194
run: |
195
set -e
196
- # Include SPA fallback + filesystem in the deployed output
197
- cat > build/web/vercel.json <<'JSON'
198
- {
199
- "version": 2,
200
- "routes": [
201
- { "handle": "filesystem" },
202
- { "src": "/(.*)", "dest": "/index.html" }
203
- ]
204
- }
205
- JSON
206
-
207
- # Deploy the prebuilt directory directly to avoid rebuilding on Vercel
208
- DEPLOY_OUTPUT=$(npx vercel deploy build/web --prod --yes --token="$VERCEL_TOKEN")
+ DEPLOY_OUTPUT=$(npx vercel deploy --prod --yes --token="$VERCEL_TOKEN")
209
echo "$DEPLOY_OUTPUT"
210
DEPLOY_URL=$(echo "$DEPLOY_OUTPUT" | grep -E "Production:" | grep -Eo 'https://[^[:space:]]+' | head -1)
211
if [ -z "$DEPLOY_URL" ]; then
0 commit comments