Skip to content

Update merchants_api.yml #17

Update merchants_api.yml

Update merchants_api.yml #17

Workflow file for this run

name: Sync API definition to ReadMe
# Run workflow for every push to the merchants_api.yml file
on:
push:
branches:
- main
paths:
- 'openAPI/merchants_api.yml'
jobs:
sync-credit-core:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v3
# Run GitHub Action to sync OpenAPI file at ./path-to-file.json
- name: GitHub Action
# We recommend specifying a fixed version, i.e. @v8
# Docs: https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#example-using-versioned-actions
uses: readmeio/rdme@v8
with:
rdme: openapi ./openAPI/merchants_api.yml --key=${{ secrets.README_API_KEY }} --id=${{ secrets.DEFINITION_ID }}