Skip to content

Update readme.yaml

Update readme.yaml #46

Workflow file for this run

# 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 OAS to ReadMe
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
environment: Sandbox
steps:
- uses: actions/checkout@v3
- uses: readmeio/[email protected]
- name: Checkout
uses: actions/checkout@v4
#- name: Upload Autosuggest API to Readme
# uses: readmeio/rdme@v8
# with:
# rdme:
# openapi discovery/autosuggest.yaml --key=${{ secrets.API_KEY_SANDBOX }} --id=${{ vars.AUTOSUGGEST_ID }}
#
- name: Upload Email Widget API to Readme
uses: readmeio/rdme@v8
with:
rdme:
openapi discovery/email_spec.yaml --key=${{ secrets.API_KEY_SANDBOX }} --id=${{ vars.EMAIL_RECS_ID }}