Skip to content

Commit 536fd75

Browse files
committed
Add Postman collection sync
1 parent 4311380 commit 536fd75

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/generate.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ jobs:
5151
commit_user_email: [email protected]
5252
commit_author: Github-Actions🤖 <[email protected]>
5353

54+
# Sync the collection with Postman
55+
- name: Sync Postman Collections
56+
uses: jneate/postman-collection-action@v1
57+
with:
58+
postmanApiKey: ${{ secrets.POSTMAN_API_KEY }}
59+
postmanWorkspaceId: d598cc9d-84bf-4e1d-8da2-6ee69c8ecd62
60+
postmanTimeout: 30000
61+
5462
# Keep the workflow alive
5563
- uses: gautamkrishnar/keepalive-workflow@v1 # using the workflow with default settings
5664
if: github.event_name != 'pull_request'

generate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def generate_api_collection() -> None:
7777
# Create a new Postman collection with the date in the name
7878
postman_collection = {
7979
"info": {
80+
"_postman_id": "4575b7d8-237c-458d-8972-b5fa0c556369",
8081
"name": f"Steam Web API {current_date}",
8182
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
8283
"description": "Generated from https://api.steampowered.com/ISteamWebAPIUtil/GetSupportedAPIList/v1\n"

0 commit comments

Comments
 (0)