ci: update "Sync docs with Readme" (#7029)

* try to update workflow

* try sync

* revert experimental commits
This commit is contained in:
Stefano Fiorucci 2024-02-18 14:42:45 +01:00 committed by GitHub
parent 3ce6b9768e
commit 3cc8e54f41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,12 +33,10 @@ jobs:
README_API_KEY: ${{ secrets.README_API_KEY }}
run: ./.github/utils/pydoc-markdown.sh
- name: Sync preview docs with 2.0
# Sync the preview docs to the `2.0` version on Readme
- name: Sync docs with 2.0
# Sync the docs to the `2.0` version on Readme
id: sync-main
if: github.ref_name == 'main' && github.event_name == 'push'
uses: readmeio/rdme@8.3.1
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
uses: readmeio/rdme@v8
with:
rdme: docs ./docs/pydoc/temp --key="$README_API_KEY" --version=v2.0
rdme: docs ./docs/pydoc/temp --key=${{ secrets.README_API_KEY }} --version=v2.0