Merge pull request #1614 from diffgram/anthony-chaudhary-patch-1 #227
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
# For info on getting the latest rdme version and obtaining your API_DEFINITION_ID, | |
# see our docs: https://docs.readme.com/docs/rdme#example-syncing-an-openapi-definition | |
name: Sync Open API Specs to ReadMe.io | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# - uses: readmeio/[email protected] | |
# with: | |
# rdme: versions:create --key=${{ secrets.README_API_KEY }} --id=${{ secrets.README_WALRUS_API_ID }} | |
- uses: readmeio/[email protected] | |
with: | |
rdme: openapi default/docs/swagger_spec.json --key=${{ secrets.README_API_KEY }} --id=${{ secrets.README_DEFAULT_API_ID }} | |
# - uses: readmeio/[email protected] | |
# with: | |
# rdme: openapi walrus /docs/swagger_spec.json --key=${{ secrets.README_API_KEY }} --id=${{ secrets.README_WALRUS_API_ID }} |