update vercel deployment
This commit is contained in:
parent
61992077ec
commit
536c1dddc3
|
|
@ -1,30 +0,0 @@
|
|||
name: Deploy to Vercel
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build project
|
||||
run: npm run build
|
||||
|
||||
# This step will trigger Vercel deployment via GitHub integration
|
||||
# Make sure you have connected your GitHub repo to Vercel
|
||||
- name: Deploy to Vercel
|
||||
run: echo "Deployment will be handled by Vercel GitHub integration"
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
},
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"dest": "/server/index.ts"
|
||||
"dest": "/index.html"
|
||||
}
|
||||
],
|
||||
"functions": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue