Update OpenAPI schemas #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish OpenAPI definitions to ReadMe | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '*-api/**.json' | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Sync Public API definition | |
uses: readmeio/[email protected] | |
with: | |
rdme: openapi core-api/core-api.json --key=${{ secrets.README_API_KEY }} --id=5e4c9919ca81b300660e92d6 | |
- name: Sync Channel API definition | |
uses: readmeio/[email protected] | |
with: | |
rdme: openapi channel-api/channel-api.json --key=${{ secrets.README_API_KEY }} --id=5e4c9919ca81b300660e92d8 |