doc -> docs as Github needs a specific name
This commit is contained in:
parent
5d360bcdd5
commit
d3aa3f87af
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -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
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user