Skip to content

Commit

Permalink
Add github action to deploy site on changes to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclarke committed Nov 3, 2020
1 parent 1843325 commit 759a390
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Deploy Documentation Changes

on:
push:
paths:
- "docs/**"

jobs:
deploy:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest

steps:
- name: Trigger vercel deploy hook
run: curl -X POST ${{ secrets.VERCEL_DOC_DEPLOY_URL_HOOK }}

0 comments on commit 759a390

Please sign in to comment.