Merge pull request #5 from Jeff-Emmett/new-website

update yml
This commit is contained in:
Jeff Emmett 2025-06-19 12:49:04 +02:00 committed by GitHub
commit 0df281f799
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 34 deletions

View File

@ -1,33 +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
- name: Deploy to Vercel
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.ORG_ID }}
vercel-project-id: ${{ secrets.PROJECT_ID }}
vercel-args: '--prod'

View File

@ -15,7 +15,7 @@
},
{
"src": "/(.*)",
"dest": "/server/index.ts"
"dest": "/index.html"
}
],
"functions": {