Skip to content

Commit

Permalink
Add Vercel workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ethitter committed Sep 22, 2023
1 parent 25f7d5f commit 1c57c7d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/vercel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Vercel

on:
pull_request:
push:
branches:
- master

jobs:
deploy-nova:
name: Deploy
uses: penske-media-corp/github-workflows-wordpress/.github/workflows/vercel.yml@main
secrets:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
with:
VERCEL_ORG_SlUG: 'penske-media-corp'
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_PROJECT_NAME: 'pmc-larva'
WORKING_DIRECTORY: './'
8 changes: 7 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{

"github": {
"enabled": false,
"silent": true
},
"public": false,
"redirects": [
{
"source": "/tokens",
Expand All @@ -9,4 +15,4 @@
"destination": "/larva"
}
]
}
}

0 comments on commit 1c57c7d

Please sign in to comment.