obs-websocket/.github/workflows/generate_docs.yml

28 lines
653 B
YAML
Raw Normal View History

2021-04-26 16:08:11 +00:00
name: 'Generate docs'
on:
2021-04-27 00:26:07 +00:00
push:
paths-ignore:
2021-04-27 00:35:19 +00:00
- 'docs/generated/**'
2021-04-27 00:26:07 +00:00
branches:
- master
2021-04-26 16:08:11 +00:00
jobs:
2021-04-27 00:26:07 +00:00
docs-build:
name: 'Generate docs [Ubuntu]'
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }}
env:
2021-04-27 00:27:26 +00:00
CHECKOUT_REF: ${{ github.ref }}
GH_TOKEN: ${{ github.token }}
IS_CI: "true"
2021-04-27 00:26:07 +00:00
steps:
- name: 'Checkout'
uses: actions/checkout@v2
with:
path: ${{ github.workspace }}/obs-websocket
- name: 'Generate docs'
working-directory: ${{ github.workspace }}/obs-websocket
run: |
./CI/generate-docs.sh