Skip to content

Commit

Permalink
Added readme update action
Browse files Browse the repository at this point in the history
  • Loading branch information
iamarkdev committed Apr 19, 2024
1 parent 96ace96 commit 4d27d7e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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@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 ./spec.json --key=${{ secrets.README_API_KEY }} --id=${{ secrets.README_API_ID }}
Loading

0 comments on commit 4d27d7e

Please sign in to comment.