From e56b95d0cf0a5844c9a269871029b46dd1eaacac Mon Sep 17 00:00:00 2001 From: Phil Sturgeon <67381+philsturgeon@users.noreply.github.com> Date: Mon, 30 Dec 2024 14:40:13 +0000 Subject: [PATCH] experimental github action with overlay support --- .github/workflows/bump.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 1b2457f..6a5c5d4 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -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' }}