mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
28 lines
653 B
YAML
28 lines
653 B
YAML
name: 'Generate docs'
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- 'docs/generated/**'
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
docs-build:
|
|
name: 'Generate docs [Ubuntu]'
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.ref == 'refs/heads/master' }}
|
|
env:
|
|
CHECKOUT_REF: ${{ github.ref }}
|
|
GH_TOKEN: ${{ github.token }}
|
|
IS_CI: "true"
|
|
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
|