Skip to content

Commit 564b542

Browse files
authored
Merge pull request #29 from fbsamples/postman
Postman collection JSON
2 parents 2db1426 + e695b62 commit 564b542

File tree

2 files changed

+2547
-0
lines changed

2 files changed

+2547
-0
lines changed

.github/workflows/postman-sync.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Sync Postman Collection
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
sync:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Upload Postman Collection
17+
run: |
18+
curl -L -X PUT 'https://api.getpostman.com/collections/34203612-b2ec0e9b-19bb-4a28-b96f-ee426777509c' \
19+
--header 'X-Api-Key: ${{ secrets.POSTMAN_API_KEY }}' \
20+
-F 'collection=@postman/threads-api.postman_collection.json;type=application/json'

0 commit comments

Comments
 (0)