mirror of
https://github.com/Sysbot-org/tgscraper.git
synced 2025-01-08 09:55:50 +01:00
Finally fixed, re-adding all schemas
This commit is contained in:
parent
3977840155
commit
05c9d3f2eb
18
.github/workflows/pages.yml
vendored
18
.github/workflows/pages.yml
vendored
@ -9,10 +9,26 @@ jobs:
|
|||||||
name: Build files for GH Pages
|
name: Build files for GH Pages
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Generate schemas
|
- name: Generate botapi.json
|
||||||
uses: docker://ghcr.io/sysbot-org/tgscraper
|
uses: docker://ghcr.io/sysbot-org/tgscraper
|
||||||
with:
|
with:
|
||||||
args: "app:export-schema --readable /github/workspace/botapi.json"
|
args: "app:export-schema --readable /github/workspace/botapi.json"
|
||||||
|
- name: Generate botapi.yaml
|
||||||
|
uses: docker://ghcr.io/sysbot-org/tgscraper
|
||||||
|
with:
|
||||||
|
args: "app:export-schema --yaml --readable /github/workspace/botapi.yaml"
|
||||||
|
- name: Generate botapi_postman.json
|
||||||
|
uses: docker://ghcr.io/sysbot-org/tgscraper
|
||||||
|
with:
|
||||||
|
args: "app:export-schema --postman --readable /github/workspace/botapi_postman.json"
|
||||||
|
- name: Generate botapi_openapi.json
|
||||||
|
uses: docker://ghcr.io/sysbot-org/tgscraper
|
||||||
|
with:
|
||||||
|
args: "app:export-schema --openapi --readable /github/workspace/botapi_openapi.json"
|
||||||
|
- name: Generate botapi_openapi.yaml
|
||||||
|
uses: docker://ghcr.io/sysbot-org/tgscraper
|
||||||
|
with:
|
||||||
|
args: "app:export-schema --yaml --openapi --readable /github/workspace/botapi_openapi.yaml"
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user