Merge pull request #37 from bhavaninataraj/main #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update the IPP collection | |
name: "In-person payments" | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'in-person-payments/ipp.json' | |
jobs: | |
push: | |
name: "Update Postman Collection" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: push-to-postman-action | |
id: push-to-postman | |
uses: gcatanese/push-to-postman-action@main | |
with: | |
goal: update | |
postman-key: ${{ secrets.POSTMAN_API_KEY }} | |
postman-file: 'in-person-payments/ipp.json' | |
collection-id: ${{ secrets.POSTMAN_IPP_COLLECTION_ID }} |