We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9e4ef9 commit 018ac65Copy full SHA for 018ac65
1 file changed
.github/workflows/dev_sandbox_publish_deploy.yaml
@@ -147,11 +147,12 @@ jobs:
147
env:
148
POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }}
149
run: |
150
+ jq -c '{collection: .}' specification/postman/collection.json > wrapped_collection.json
151
curl -X PUT \
152
https://api.getpostman.com/collections/44595835-573a42db-b7a5-4b69-9f62-696b6df3f12f \
153
-H "X-Api-Key: $POSTMAN_API_KEY" \
154
-H "Content-Type: application/json" \
- -d "{\"collection\": $(cat specification/postman/collection.json)}
155
+ -d @wrapped_collection.json
156
157
publish:
158
needs: publish_postman
0 commit comments