ci: add job to automatically deploy docs

This commit is contained in:
metonym 2023-03-29 08:16:58 -07:00
commit a1218f148a

View file

@ -23,3 +23,13 @@ jobs:
yarn build:lib yarn build:lib
yarn test:types yarn test:types
yarn lint 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"