Skip to content

ci: Manual vercel build and deploy #1

ci: Manual vercel build and deploy

ci: Manual vercel build and deploy #1

ame: Deploy Production

Check failure on line 1 in .github/workflows/deploy-production.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-production.yml

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-production.yml (Line: 1, Col: 1): Unexpected value 'ame'
on:
push:
branches:
- 'main'
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
DIRECT_DATABASE_URL: ${{ secrets.DIRECT_DATABASE_URL }}
jobs:
deploy-production:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Run Prisma Migrate
run: pnpm run db:migrate
- name: Install Vercel CLI
run: pnpm i -g vercel@latest
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}