mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 04:49:06 +00:00
19 lines
391 B
YAML
19 lines
391 B
YAML
# 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 }}
|