Skip to content

v1.4.15-beta.4

v1.4.15-beta.4 #9

name: Update Postman Collection
on:
release:
types:
- created
jobs:
update_postman:
if: ${{ github.event.release.prerelease == false }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update Postman Collection
run: |
# Application collection
curl --location --request PUT 'https://api.getpostman.com/collections/25401129-fc65e3d4-aa10-4ba8-ae19-15ae6e57b253' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: {{secrets.POSTMAN_API_KEY}}' \
--data-binary "@postman/application.json"
echo "\n✅ Application collection updated!!"
# Platform collection
curl --location --request PUT 'https://api.getpostman.com/collections/25401129-f155d8e8-f15d-42c2-9bbd-38d3a556b40c' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: {{secrets.POSTMAN_API_KEY}}' \
--data-binary "@postman/platform.json"
echo "\n✅ Platform collection updated!!"