mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-06 12:27:48 +00:00
Update action
This commit is contained in:
13
.github/workflows/build-postman-idn-v3.yml
vendored
13
.github/workflows/build-postman-idn-v3.yml
vendored
@@ -36,10 +36,9 @@ jobs:
|
|||||||
- name: Wrap collection for postman
|
- name: Wrap collection for postman
|
||||||
run: |
|
run: |
|
||||||
jq '{collection: . }' collection.json > final.json
|
jq '{collection: . }' collection.json > final.json
|
||||||
cat final.json
|
- name: Upload to postman
|
||||||
# - name: Upload to postman
|
run: |
|
||||||
# run: |
|
curl --location --request PUT 'https://api.getpostman.com/collections/5f6a4855-8012-406f-9456-c8fa6311b080' \
|
||||||
# curl --location --request PUT 'https://api.getpostman.com/collections/5f6a4855-8012-406f-9456-c8fa6311b080' \
|
--header 'Content-Type: application/json' \
|
||||||
# --header 'Content-Type: application/json' \
|
--header 'X-API-Key: ${{secrets.POSTMAN_API_KEY}}' \
|
||||||
# --header 'X-API-Key: ${{secrets.POSTMAN_API_KEY}}' \
|
--data-binary '@final.json'
|
||||||
# --data-binary '@final.json'
|
|
||||||
Reference in New Issue
Block a user