-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[github] Add GitHub Action to upload to Stainless
- Loading branch information
1 parent
0aadd17
commit 9615302
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Upload to Stainless | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
upload_to_stainless: | ||
runs-on: ubuntu-latest | ||
name: Stainless — Upload OpenAPI specification | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: stainless-api/[email protected] | ||
with: | ||
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }} | ||
input_path: "openapi.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters