doc -> docs as Github needs a specific name

This commit is contained in:
Gabe Kangas 2022-03-19 12:02:34 -07:00
parent 5d360bcdd5
commit d3aa3f87af
No known key found for this signature in database
GPG key ID: 9A56337728BC81EA
5 changed files with 3 additions and 3 deletions

2
.gitattributes vendored
View file

@ -10,7 +10,7 @@ webroot/js/web_modules/videojs/* linguist-vendored
webroot/js/web_modules/micromodal/dist/* linguist-vendored
static/* linguist-vendored
static/admin/* linguist-vendored
doc/api/* linguist-documentation
docs/api/* linguist-documentation
static/* linguist-vendored
static/admin/* linguist-vendored
static/admin/logs/* linguist-vendored

View file

@ -14,7 +14,7 @@ jobs:
- name: Run redoc on openapi.yaml
run: |
npx redoc-cli bundle openapi.yaml -o doc/api/index.html --options '{"hideHostname": true, "pathInMiddlePanel": true}'
npx redoc-cli bundle openapi.yaml -o docs/api/index.html --options '{"hideHostname": true, "pathInMiddlePanel": true}'
- name: Commit changes
uses: EndBug/add-and-commit@v5
@ -22,6 +22,6 @@ jobs:
author_name: Owncast
author_email: owncast@owncast.online
message: "Commit updated API documentation"
add: "doc/api/index.html"
add: "docs/api/index.html"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}