Skip to content

Commit

Permalink
Setting up workflow to push updates to Stainless
Browse files Browse the repository at this point in the history
  • Loading branch information
pstern-sl committed May 20, 2024
1 parent 6052bb6 commit 3805270
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/upload-to-stainless.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Upload OpenAPI Spec to Stainless
on:
push:
branches:
- [main]

jobs:
stainless:
runs-on: ubuntu-latest
name: Stainless — Upload OpenAPI specification
steps:
- uses: actions/checkout@v4
- uses: stainless-api/[email protected]
with:
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }}
input_path: "openapi.yaml"
project_name: 'togetherai'

0 comments on commit 3805270

Please sign in to comment.