Skip to content

Commit

Permalink
Merge pull request #12 from pstern-sl/ps/setup-github-workflow
Browse files Browse the repository at this point in the history
Setting up workflow to push updates to Stainless
  • Loading branch information
Nutlope authored May 24, 2024
2 parents 6052bb6 + 3805270 commit 786a6c3
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 786a6c3

Please sign in to comment.