woodpecker

This commit is contained in:
Michael Thomson 2024-01-15 12:30:34 -05:00
parent 359ace0b9f
commit f431ff8d56
No known key found for this signature in database

12
.woodpecker.yml Normal file
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