From b624e82981ca8d2c61e7a6bdbfba50b8ff6b8c8a Mon Sep 17 00:00:00 2001 From: James Clarke Date: Tue, 3 Nov 2020 12:23:52 +0000 Subject: [PATCH] Add github action to deploy site on changes to documentation --- .github/workflows/docs.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 000000000..60e80f3c8 --- /dev/null +++ b/.github/workflows/docs.yml @@ -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 }}