diff --git a/.github/workflows/readme_sync.yml b/.github/workflows/readme_sync.yml index ec942cbdb..a6126f7b3 100644 --- a/.github/workflows/readme_sync.yml +++ b/.github/workflows/readme_sync.yml @@ -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