fixed when

This commit is contained in:
Michael Thomson 2024-01-15 12:39:11 -05:00
parent 49a44144b3
commit 713fe4dee4
No known key found for this signature in database

View File

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