Update push code samples in generation action

This commit is contained in:
speakeasy-bot
2024-07-01 15:42:32 +00:00
parent aa9000664f
commit fe0550bbf2

View File

@@ -11,6 +11,10 @@ permissions:
description: Force generation of SDKs description: Force generation of SDKs
type: boolean type: boolean
default: false default: false
push_code_samples_only:
description: Force push only code samples from SDK generation
type: boolean
default: false
schedule: schedule:
- cron: 0 0 * * * - cron: 0 0 * * *
jobs: jobs:
@@ -19,6 +23,7 @@ jobs:
with: with:
force: ${{ github.event.inputs.force }} force: ${{ github.event.inputs.force }}
mode: direct mode: direct
push_code_samples_only: ${{ fromJSON(github.event.inputs.push_code_samples_only) }}
speakeasy_version: latest speakeasy_version: latest
secrets: secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }} github_access_token: ${{ secrets.GITHUB_TOKEN }}