Skip to content

Commit

Permalink
[github] Add GitHub Action to upload to Stainless
Browse files Browse the repository at this point in the history
  • Loading branch information
athyuttamre committed Dec 16, 2023
1 parent 0aadd17 commit 9615302
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/upload-to-stainless.yml
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"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: [opened, reopened, synchronize]

jobs:
test_swagger_editor_validator_service:
validate_openapi:
runs-on: ubuntu-latest
name: Swagger Editor Validator Service

Expand Down

0 comments on commit 9615302

Please sign in to comment.