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' name: 'Generate docs'
on: on:
push: push:
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
branches: branches:
- master - master
jobs: jobs:
docs-build: docs-build:
name: 'Generate docs [Ubuntu]' name: 'Generate docs [Ubuntu]'
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' }}
env: env:
CHECKOUT_REF: github.ref CHECKOUT_REF: github.ref
GH_TOKEN: github.token GH_TOKEN: github.token
steps: steps:
- name: 'Checkout' - name: 'Checkout'
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
path: ${{ github.workspace }}/obs-websocket path: ${{ github.workspace }}/obs-websocket
- name: 'Generate docs' - name: 'Generate docs'
working-directory: ${{ github.workspace }}/obs-websocket working-directory: ${{ github.workspace }}/obs-websocket
run: | run: |
./CI/generate-docs.sh ./CI/generate-docs.sh