This commit is contained in:
bennykok
2024-07-16 14:52:52 -07:00
parent 6ea0b09d80
commit f4795d49bc
4 changed files with 25 additions and 0 deletions

View File

@@ -26,4 +26,5 @@ jobs:
speakeasy_version: latest
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
pypi_token: ${{ secrets.PYPI_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

20
.github/workflows/sdk_publish.yaml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Publish
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
push:
branches:
- main
paths:
- RELEASES.md
- '*/RELEASES.md'
jobs:
publish:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
pypi_token: ${{ secrets.PYPI_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@ __pycache__/
.pytest_cache/
.python-version
.DS_Store
dist

View File

@@ -9,3 +9,6 @@ targets:
comfy-deploy:
target: python
source: comfydeploy-api
publish:
pypi:
token: $pypi_token