Skip to content

v1.5.1

v1.5.1 #7

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-7e096476-440d-4727-a607-22d33c2d1250' \
--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-39706828-fab0-4fc6-b361-1ee71dd04b93' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: {{secrets.POSTMAN_API_KEY}}' \
--data-binary "@postman/platform.json"
echo "\n✅ Platform collection updated!!"