From 50147439b5b6c68eaac51d463baf62d13725705a Mon Sep 17 00:00:00 2001 From: metonym Date: Wed, 29 Mar 2023 19:05:38 -0700 Subject: [PATCH] ci: add job to automatically deploy docs (#1711) * ci: add job to automatically deploy docs * empty commit to re-trigger CI --- .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"