CI: update ci again

This commit is contained in:
tt2468 2021-04-26 17:26:07 -07:00 committed by GitHub
parent a834373f25
commit f06b31d74c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,26 +1,26 @@
name: 'Generate docs'
on:
push:
paths-ignore:
- 'docs/**'
branches:
- master
push:
paths-ignore:
- 'docs/**'
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
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
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
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