Skip to content

Generate

Generate #259

name: Generate
on:
workflow_dispatch: {} # Allows manual triggering of the workflow to generate SDK
schedule:
- cron: 0 0 * * * # Runs every day at midnight
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
with:
speakeasy_version: latest
openapi_doc_location: https://circleci.com/api/v2/openapi.json
languages: |-
- typescript
publish_typescript: true
publish_python: false
mode: pr
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}