Skip to content

Commit

Permalink
🐝 Update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Nov 7, 2023
0 parents commit 3c6e609
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/speakeasy_sdk_generation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Generate
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: |
- python
mode: direct
openapi_doc_auth_header: x-api-key
openapi_docs: |
- https://app.speakeasyapi.dev/v1/apis/test/version/v1/schema/download
publish_python: true
speakeasy_version: latest
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
openapi_doc_auth_token: ${{ secrets.SPEAKEASY_API_KEY }}
pypi_token: ${{ secrets.PYPI_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

0 comments on commit 3c6e609

Please sign in to comment.