Merge pull request #22 from CompanyCam/feature/request_headers_creator #32
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: | |
sync: | |
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. @7.5.0 | |
# Docs: https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#example-using-versioned-actions | |
uses: readmeio/[email protected] | |
with: | |
rdme: openapi ./openapi.yaml --key=${{ secrets.README_OAS_KEY }} --id=${{ secrets.README_API_DEFINITION_ID }} |