Skip to content

Commit

Permalink
experimental github action with overlay support
Browse files Browse the repository at this point in the history
  • Loading branch information
philsturgeon committed Dec 30, 2024
1 parent c64aecc commit e56b95d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,14 @@ 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
uses: philsturgeon/github-action@13654d3034d9c0b85c80e1c801f1689792f21776
with:
doc: train-travel-api
token: ${{secrets.BUMP_TOKEN}}
file: openapi.codegen.yaml
file: openapi.yaml
command: deploy
overlay: https://spec.speakeasy.com/protectearth/protectearth/train-travel-api-typescript-code-samples

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

0 comments on commit e56b95d

Please sign in to comment.