This commit is contained in:
2024-01-15 12:34:56 -05:00
parent 3d5c05f609
commit 49a44144b3

View File

@@ -0,0 +1,12 @@
steps:
deploy-prod:
image: node
secrets: [vercel_org_id, vercel_project_id, vercel_token]
when:
- event: push
branch: main
commands:
- npm install --global vercel@latest
- vercel pull --yes --environment=production --token=$VERCEL_TOKEN
- vercel build --prod --token=$VERCEL_TOKEN
- vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN