Skip to content

Commit

Permalink
Adjust api-definitions bundle path (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
justnero authored Sep 20, 2024
1 parent 4fc7970 commit 1bb927f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changeset/perfect-cougars-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
4 changes: 2 additions & 2 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Build api-definitions
working-directory: ./api-definitions
run: npx redocly bundle all@latest -o dist/all.yaml
run: npx redocly bundle all@latest -o all.yaml

- name: Login to GitHub Registry
uses: docker/login-action@v3
Expand All @@ -74,7 +74,7 @@ jobs:
docker run --rm \
-u $(id -u ${USER}):$(id -g ${USER}) \
-v "/tmp/sdk:/out" \
-v "$(pwd)/api-definitions/dist:/api-definitions" \
-v "$(pwd)/api-definitions/catalog:/api-definitions" \
ghcr.io/rebilly/regenerator:latest generate \
-g rebilly-php \
-D /out/openapi.json \
Expand Down

0 comments on commit 1bb927f

Please sign in to comment.