mirror of
https://github.com/LukeHagar/plex-sdk-docs.git
synced 2025-12-06 04:20:46 +00:00
34 lines
807 B
YAML
34 lines
807 B
YAML
name: Generate Docs
|
|
permissions:
|
|
checks: write
|
|
contents: write
|
|
pull-requests: write
|
|
statuses: write
|
|
"on":
|
|
workflow_dispatch:
|
|
inputs:
|
|
force:
|
|
description: Force generation of SDKs
|
|
type: boolean
|
|
default: false
|
|
schedule:
|
|
- cron: 0 0 * * *
|
|
jobs:
|
|
generate:
|
|
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
|
|
with:
|
|
force: ${{ github.event.inputs.force }}
|
|
languages: |
|
|
- docs
|
|
docs_languages: |
|
|
- python
|
|
- typescript
|
|
- go
|
|
- curl
|
|
mode: direct
|
|
openapi_docs: |
|
|
- https://{openapi_spec}.yaml
|
|
speakeasy_version: latest
|
|
secrets:
|
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} |