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
|
||||
run: |
|
||||
jq '{collection: . }' collection.json > final.json
|
||||
cat final.json
|
||||
# - name: Upload to postman
|
||||
# run: |
|
||||
# curl --location --request PUT 'https://api.getpostman.com/collections/5f6a4855-8012-406f-9456-c8fa6311b080' \
|
||||
# --header 'Content-Type: application/json' \
|
||||
# --header 'X-API-Key: ${{secrets.POSTMAN_API_KEY}}' \
|
||||
# --data-binary '@final.json'
|
||||
- name: Upload to postman
|
||||
run: |
|
||||
curl --location --request PUT 'https://api.getpostman.com/collections/5f6a4855-8012-406f-9456-c8fa6311b080' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'X-API-Key: ${{secrets.POSTMAN_API_KEY}}' \
|
||||
--data-binary '@final.json'
|
||||
Reference in New Issue
Block a user