Update autosuggest API defaults #84
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: Sync OAS to ReadMe | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
rdme-openapi: | |
runs-on: ubuntu-latest | |
environment: Production | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Upload Autosuggest API to Readme | |
uses: readmeio/rdme@v8 | |
with: | |
rdme: | |
openapi discovery/autosuggest.yaml --key=${{ secrets.RDME_API_KEY }} --id=${{ vars.AUTOSUGGEST_ID }} --version=${{ vars.DOCS_VERSION }} | |
- name: Upload Bestseller API to Readme | |
uses: readmeio/rdme@v8 | |
with: | |
rdme: | |
openapi discovery/bestseller.yaml --key=${{ secrets.RDME_API_KEY }} --id=${{ vars.BESTSELLER_ID }} --version=${{ vars.DOCS_VERSION }} | |
- name: Upload Content Search API to Readme | |
uses: readmeio/rdme@v8 | |
with: | |
rdme: | |
openapi discovery/content-search.yaml --key=${{ secrets.RDME_API_KEY }} --id=${{ vars.CONTENT_SEARCH_ID }} --version=${{ vars.DOCS_VERSION }} | |
- name: Upload Recommendations & Pathways API to Readme | |
uses: readmeio/rdme@v8 | |
with: | |
rdme: | |
openapi discovery/recommendations-pathways.yaml --key=${{ secrets.RDME_API_KEY }} --id=${{ vars.RECS_PATHWAYS_ID }} --version=${{ vars.DOCS_VERSION }} | |
- name: Upload Search & Category API to Readme | |
uses: readmeio/rdme@v8 | |
with: | |
rdme: | |
openapi discovery/search-category.yaml --key=${{ secrets.RDME_API_KEY }} --id=${{ vars.SEARCH_CATEGORY_ID }} --version=${{ vars.DOCS_VERSION }} | |
- name: Upload Email Widget API to Readme | |
uses: readmeio/rdme@v8 | |
with: | |
rdme: | |
openapi discovery/email-spec.yaml --key=${{ secrets.RDME_API_KEY }} --id=${{ vars.EMAIL_RECS_ID }} --version=${{ vars.DOCS_VERSION }} |