Skip to content

Commit

Permalink
Release 4.0.X
Browse files Browse the repository at this point in the history
  • Loading branch information
haimkastner committed Jul 24, 2022
1 parent e248361 commit 32d1571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ jobs:
SWAGGERHUB_API_KEY: '${{ secrets.SWAGGERHUB_API_KEY }}' # Export the SWAGGERHUB_API_KEY secret as environment variable, use to auth publish request
API_SERVER_URL: '${{ secrets.API_SERVER_URL }}' # Export the API_SERVER_URL secret as environment variable, used to set the API Server URL to the published spec.
run: | # Update the spec with the API Server URL
node ./backend/scripts/set-spec-server.js /casanet_bin/swagger.json $API_SERVER_URL
npx swaggerhub-cli api:create haimkastner/casanet-local-server --file /casanet_bin/swagger.json --published=publish --visibility=public --setdefault
node ./backend/scripts/set-spec-server.js ./casanet_bin/swagger.json $API_SERVER_URL
npx swaggerhub-cli api:create haimkastner/casanet-local-server --file ./casanet_bin/swagger.json --published=publish --visibility=public --setdefault

0 comments on commit 32d1571

Please sign in to comment.