doc -> docs as Github needs a specific name
This commit is contained in:
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
|
webroot/js/web_modules/micromodal/dist/* linguist-vendored
|
||||||
static/* linguist-vendored
|
static/* linguist-vendored
|
||||||
static/admin/* linguist-vendored
|
static/admin/* linguist-vendored
|
||||||
doc/api/* linguist-documentation
|
docs/api/* linguist-documentation
|
||||||
static/* linguist-vendored
|
static/* linguist-vendored
|
||||||
static/admin/* linguist-vendored
|
static/admin/* linguist-vendored
|
||||||
static/admin/logs/* linguist-vendored
|
static/admin/logs/* linguist-vendored
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run redoc on openapi.yaml
|
- name: Run redoc on openapi.yaml
|
||||||
run: |
|
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
|
- name: Commit changes
|
||||||
uses: EndBug/add-and-commit@v5
|
uses: EndBug/add-and-commit@v5
|
||||||
@@ -22,6 +22,6 @@ jobs:
|
|||||||
author_name: Owncast
|
author_name: Owncast
|
||||||
author_email: owncast@owncast.online
|
author_email: owncast@owncast.online
|
||||||
message: "Commit updated API documentation"
|
message: "Commit updated API documentation"
|
||||||
add: "doc/api/index.html"
|
add: "docs/api/index.html"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user