chore(CD): Added Vercel-Action to continuous deployment

This commit is contained in:
Guz
2022-02-12 20:06:00 -03:00
parent af2623216d
commit 418ddbf430

18
.github/workflows/deploy-prod.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Production
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.LORED_VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-args: '--prod'
vercel-org-id: ${{ secrets.ORG_ID}}
vercel-project-id: ${{ secrets.PROJECT_ID}}