Skip to content

Commit

Permalink
feat(fdr): publish postman collection (#1443)
Browse files Browse the repository at this point in the history
dsinghvi authored Sep 10, 2024
1 parent 8437c0d commit 4fa0dd4
Showing 2 changed files with 32 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/publish-fdr-postman.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish Postman

on:
workflow_call:
workflow_dispatch:
push:
branches: main

jobs:
publish_fdr_postman:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.inputs.branch }}

- name: 📥 Install
uses: ./.github/actions/install

- name: Install Fern
run: npm install -g fern-api

- name: Publish Fiddle FDR SDK
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }}
run: |
fern generate --api fdr --group postman
4 changes: 3 additions & 1 deletion fern/apis/fdr/generators.yml
Original file line number Diff line number Diff line change
@@ -30,12 +30,14 @@ groups:
postman:
generators:
- name: fernapi/fern-postman
version: 0.3.2
version: 0.4.0
output:
location: postman
api-key: ${POSTMAN_API_KEY}
workspace-id: 5579b37c-ab1f-4660-90d1-0409e81d57bc
collection-id: 30404764-47b97d6f-d2af-439c-bcff-5b75e6c0e5b6
config:
collection-name: fdr

navigation:
audiences:

0 comments on commit 4fa0dd4

Please sign in to comment.