Skip to content

Commit

Permalink
deploy changes to bump docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philsturgeon committed Dec 23, 2024
1 parent 1d9ce2c commit 63d0812
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Add TypeScript SDK Samples to OpenAPI
run: |
npx bump-cli overlay openapi.yaml \\
https://spec.speakeasy.com/protectearth/protectearth/train-travel-api-typescript-code-samples \\
> openapi.codegen.yaml
- name: Deploy API documentation
uses: bump-sh/github-action@v1
with:
doc: train-travel-api
token: ${{secrets.BUMP_TOKEN}}
file: openapi.yaml
file: openapi.codegen.yaml

api-diff:
if: ${{ github.event_name == 'pull_request' }}
Expand Down

0 comments on commit 63d0812

Please sign in to comment.