diff --git a/.github/workflows/readme-micro.yaml b/.github/workflows/readme-micro.yaml new file mode 100644 index 0000000..e6f70fd --- /dev/null +++ b/.github/workflows/readme-micro.yaml @@ -0,0 +1,21 @@ +name: ReadMe Micro + +# 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 all OpenAPI files in the repo + - name: GitHub Action + uses: readmeio/readme-micro@v2.4.0 + env: + BASE_URL: ${{ vars.BASE_URL }} + with: + readme-micro: "'**/*.{yaml,yml,json}' --key=${{ secrets.README_MICRO_SECRET }}"