Skip to content

Commit

Permalink
Merge pull request #48 from samselikoff/main
Browse files Browse the repository at this point in the history
Add Readme to GitHub Action
  • Loading branch information
Nutlope authored Oct 22, 2024
2 parents c7d1ff0 + e38f800 commit e29b889
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/upload-to-stainless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:
stainless:
runs-on: ubuntu-latest
name: Stainless — Upload OpenAPI specification
steps:
- uses: actions/checkout@v4
- uses: stainless-api/upload-openapi-spec-action@v0.2.1
- uses: stainless-api/upload-openapi-spec-action@main
with:
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }}
input_path: "openapi.yaml"
project_name: 'togetherai'
input_path: 'openapi.yaml'
output_path: 'openapi.documented.yaml'
project_name: 'TogetherAI'
- uses: readmeio/rdme@v8
with:
rdme: openapi "openapi.documented.yaml" --key=${{ secrets.README_TOKEN }} --id=${{ secrets.README_DEFINITION_ID }}

0 comments on commit e29b889

Please sign in to comment.