Some checks failed
Deploy to Vercel / deploy (push) Has been cancelled
On push to master, Gitea Actions checks out, installs deps, type- checks, and runs `vercel deploy --prod`. See .gitea/RUNNER_SETUP.md for one-time setup (act_runner install, Vercel token, three Gitea secrets). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
36 lines
764 B
YAML
36 lines
764 B
YAML
name: Deploy to Vercel
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
|
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 24
|
|
cache: pnpm
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Type check
|
|
run: pnpm exec tsc --noEmit
|
|
|
|
- name: Deploy to Vercel
|
|
run: npx vercel deploy --prod --yes --token=${{ secrets.VERCEL_TOKEN }}
|