diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml new file mode 100644 index 00000000..d4b96c4a --- /dev/null +++ b/.github/workflows/deploy-prod.yml @@ -0,0 +1,20 @@ +name: Deploy to Production +on: + push: + branches: + - master + +jobs: + vercel-deployment: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: aulneau/vercel-action@v19.0.2+3 + id: vercel_prod_deployment + with: + vercel-token: ${{ secrets.VERCEL_TOKEN }} + vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} + vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} + scope: ${{ secrets.VERCEL_SCOPE }} + vercel-args: '--prod' + github-comment: false diff --git a/vercel.json b/vercel.json index 7ae9a3de..c73478f0 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,6 @@ { "github": { + "enabled": false, "silent": true } }