From a1218f148a77eea6ae7e195f6b857992178ec696 Mon Sep 17 00:00:00 2001 From: metonym Date: Wed, 29 Mar 2023 08:16:58 -0700 Subject: [PATCH] ci: add job to automatically deploy docs --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf0ca563..1e2ab446 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,3 +23,13 @@ jobs: yarn build:lib yarn test:types yarn lint + + deploy-docs: + if: github.ref == 'refs/heads/master' + runs-on: ubuntu-latest + steps: + - name: Trigger deploy + env: + deploy_url: ${{ secrets.RENDER_DEPLOY_HOOK_URL }} + run: | + curl -X GET "$deploy_url"