FIX: Docs Flow

This commit is contained in:
Victor Radael
2022-08-18 15:23:46 -03:00
parent 00dacfdbb9
commit 5b4b1ae55e
+1 -10
View File
@@ -185,16 +185,7 @@ jobs:
DOCS_BLOCK_ID: ${{ steps.extract_docs_block_id.outputs.result }}
continue-on-error: true
run: |
curl -request POST \
--url $DOCS_URL \
--header 'Content-Type: application/json' \
--data '{ \
"service": "$DOCS_API_TOKEN", \
"pageId": "$DOCS_PAGE_ID", \
"blockId": "$DOCS_BLOCK_ID", \
"schema": "../swagger.json" \
}'
curl $DOCS_URL -X POST -d '{"service": "$DOCS_API_TOKEN","pageId": "$DOCS_PAGE_ID","blockId": "$DOCS_BLOCK_ID","schema": "https://petstore.swagger.io/v2/swagger.json"}' -H 'Content-Type: application/json'
- name: Cleanup Docker's Leftovers
if: always()
continue-on-error: true