Skip to content

Add Hotjar Script

Add Hotjar Script #398

Workflow file for this run

name: Deploys & Previews
on:
push:
jobs:
deploy-preview:
if: github.ref != 'refs/heads/production'
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
repository-projects: write
contents: write
steps:
- uses: actions/checkout@v2
- uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
scope: ${{ secrets.VERCEL_ORG_ID }}
deploy-production:
if: github.ref == 'refs/heads/production'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-comment: false
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
scope: ${{ secrets.VERCEL_ORG_ID }}
vercel-args: --prod