mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 13:50:06 +03:00
doc -> docs as Github needs a specific name
This commit is contained in:
parent
5d360bcdd5
commit
d3aa3f87af
5 changed files with 3 additions and 3 deletions
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 }}
|
||||||
|
|
Loading…
Reference in a new issue