Browse Source

feat: add prod deploy

build/update-latest-deps
Thomas Osmonson 4 years ago
parent
commit
84b7e18061
  1. 20
      .github/workflows/deploy-prod.yml
  2. 1
      vercel.json

20
.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

1
vercel.json

@ -1,5 +1,6 @@
{
"github": {
"enabled": false,
"silent": true
}
}

Loading…
Cancel
Save