Skip to content

readme deploy gh action #12

readme deploy gh action

readme deploy gh action #12

Workflow file for this run

name: Parcl Labs SDK Readme Deploy
on:
pull_request:
branches:
- main
jobs:
readme-deploy:
runs-on: ubuntu-latest
# if: ${{ (github.event.workflow_run.conclusion == 'success') || (github.event_name == 'workflow_dispatch') }}
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
- name: Create README copy
run:
python3 scripts/copy_readme.py
- name: Deploy OpenAPI docs 🦉
uses: readmeio/[email protected]
with:
rdme: docs README_COPY.md --key=${{ secrets.README_API_KEY }}
- name: Cleanup 🧹
run: rm -f README_COPY.md