Skip to content

Deploy to Vercel

Deploy to Vercel #7756

Workflow file for this run

name: Deploy to Vercel
on:
schedule:
# Run at every 1 hour
# Notion images are expired after 1 hour
- cron: '0 * * * *'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: main
- uses: actions/setup-node@v2
with:
node-version: '18'
# deploy command
- uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
vercel-args: '--prod --force'