Skip to content

V6

V6 #16

name: ReadMe GitHub Action 🦉
on:
pull_request:
branches: [develop]
types:
- closed
paths:
- examples/README.md
jobs:
custompages:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/python-package-shared-setup
with:
rye-version: ${{ vars.RYE_VERSION }}
python-version: 3.12
- name: Create readme
working-directory: examples
run: rye run create-doc-readme
- name: Run `custompages` command
uses: readmeio/rdme@v8
with:
rdme: custompages examples/tutorials.html --key=${{ secrets.README_API_KEY }}