Skip to content

Invite Page (#8)

Invite Page (#8) #11

Workflow file for this run

name: Fast API Vercel Production Deployment
on:
workflow_dispatch:
push:
branches:
- main
paths:
- '**/*.py'
jobs:
Deploy-Production:
runs-on: ubuntu-latest
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- uses: actions/checkout@v2
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project to Vercel
run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}