diff --git a/.github/workflows/publish-fdr-postman.yml b/.github/workflows/publish-fdr-postman.yml new file mode 100644 index 0000000000..26bc68b4d9 --- /dev/null +++ b/.github/workflows/publish-fdr-postman.yml @@ -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 diff --git a/fern/apis/fdr/generators.yml b/fern/apis/fdr/generators.yml index 6827401b80..1c88c639bd 100644 --- a/fern/apis/fdr/generators.yml +++ b/fern/apis/fdr/generators.yml @@ -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: