aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/bun-deploy-site.yml
blob: 9783668fbfe58843a87048d1c94e2a8ee6761447 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# redeploy Vercel site when a file in `docs` changes
# using VERCEL_DEPLOY_HOOK environment variable

name: Deploy site
on:
  push:
    paths:
      - "docs/**"
    branches: [main]

jobs:
  deploy:
    name: Deploy site
    runs-on: ubuntu-latest
    if: github.repository_owner == 'oven-sh'
    steps:
      - name: Trigger Vercel build
        run: curl ${{ secrets.VERCEL_DEPLOY_HOOK }}