Skip to content

Commit

Permalink
sync with readme
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Jan 26, 2024
1 parent f43f69e commit 2d1b7c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI_readme_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ jobs:
hatch run docs
cd -
done
mkdir tmp
find . -name "_readme_*.md" -exec cp "{}" tmp \;
- name: Sync preview docs with 2.0
# Sync the preview docs to the `2.0` version on Readme
id: sync-main
if: github.ref_name == 'main' && github.event_name == 'push'
if: steps.changed-files.outputs.all_changed_files != ''
uses: readmeio/[email protected]
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
with:
rdme: docs ./docs/pydoc/temp --key="$README_API_KEY" --version=2.0
rdme: docs ./tmp --key="$README_API_KEY" --version=2.0

0 comments on commit 2d1b7c1

Please sign in to comment.