An open API service indexing awesome lists of open source software.

https://github.com/fern-api/action-postman-sync

A GitHub Action for updating a Postman Collection within a Workspace
https://github.com/fern-api/action-postman-sync

fern openapi postman postman-collection

Last synced: 1 day ago
JSON representation

A GitHub Action for updating a Postman Collection within a Workspace

Awesome Lists containing this project

README

        

# Postman Sync

This action will update your postman collection on `https://www.postman.com`.

## Usage

```yaml
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Update postman collections
uses: fern-api/action-postman-sync@v1
with:
api-key: ${{ secrets.POSTMAN_API_KEY }}
workspace-id: ${{ secrets.POSTMAN_WORKSPACE_ID }}
collection-path: path/to/collection.json
```
## Contributing

Remember to run build and package the code before pushing changes. If you forget to do this, CI will fail!

```bash
npm run build
npm run package
```