Merge branch 'main' of git@github.com:Frooodle/Stirling-PDF.git into
main
This commit is contained in:
commit
1d2bf92abe
1 changed files with 2 additions and 1 deletions
3
.github/workflows/swagger.yml
vendored
3
.github/workflows/swagger.yml
vendored
|
@ -26,6 +26,7 @@ jobs:
|
|||
run: ./gradlew generateOpenApiDocs
|
||||
|
||||
- name: Upload Swagger Documentation to SwaggerHub
|
||||
run: ./gradlew swaggerhubUpload
|
||||
run: |
|
||||
curl -X PUT -H "Authorization: ${SWAGGERHUB_API_KEY}" -H "Content-Type: application/json" -d @./SwaggerDoc.json "https://api.swaggerhub.com/apis/Frooodle/Stirling-PDF/${{ steps.versionNumber.outputs.versionNumber }}?isPrivate=false&force=true"
|
||||
env:
|
||||
SWAGGERHUB_API_KEY: ${{ secrets.SWAGGERHUB_API_KEY }}
|
||||
|
|
Loading…
Reference in a new issue