Skip to content

Update sync.yaml

Update sync.yaml #5

Workflow file for this run

name: Sync OpenAPI definition to ReadMe
# Run workflow for every push to the `main` branch
on:
push:
branches:
- main
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v4
# Run GitHub Action to sync OpenAPI file at ./path-to-file.json
- name: synchronization with the first version
# 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 ./oas.json --key=${{ secrets.README_API_KEY }} --id=67504dc59734f900369964dd
- name: synchronization with the second version
# 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 ./oas.json --key=${{ secrets.README_API_KEY }} --id=666094feea280e0042275060