From 4b994553628543ce7a264199d705da3f9c957977 Mon Sep 17 00:00:00 2001 From: Dom Harrington Date: Wed, 2 Aug 2023 14:20:39 +0100 Subject: [PATCH] Create readme-micro.yaml --- .github/workflows/readme-micro.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/readme-micro.yaml 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 }}"