Skip to content

Add auto profile update #5

Add auto profile update

Add auto profile update #5

name: Deploy Serverless
on:
push:
branches:
- main
paths:
- 'workspaces/functions/**'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.18.1'
cache: 'yarn'
- name: Deploy to Vercel
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
run: npx vercel --prod --yes --token ${{ env.VERCEL_TOKEN }} --cwd ./workspaces/website/api