diff --git a/.github/actions/publish-docs/action.yml b/.github/actions/publish-docs/action.yml deleted file mode 100644 index a892c82..0000000 --- a/.github/actions/publish-docs/action.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Publish Documentation -description: 'Publish the documentation to GitHub Pages' -inputs: - token: - description: 'Token to use for publishing.' - required: true - -runs: - using: composite - steps: - - name: Add .nojekyll file - shell: bash - run: touch docs/build/html/.nojekyll - - - uses: launchdarkly/gh-actions/actions/publish-pages@publish-pages-v1.0.2 - name: 'Publish to Github pages' - with: - docs_path: docs/build/html/ - github_token: ${{inputs.token}} # For the shared action the token should be a GITHUB_TOKEN< diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 6d55015..10ab56f 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -48,8 +48,3 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{env.PYPI_AUTH_TOKEN}} - - - uses: ./.github/actions/publish-docs - if: ${{ steps.release.outputs.releases_created == 'true' }} - with: - token: ${{secrets.GITHUB_TOKEN}} diff --git a/README.md b/README.md index cefa1c2..2a712f6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Run CI](https://github.com/launchdarkly/python-eventsource/actions/workflows/ci.yml/badge.svg)](https://github.com/launchdarkly/python-eventsource/actions/workflows/ci.yml) [![PyPI](https://img.shields.io/pypi/v/launchdarkly-eventsource.svg?maxAge=2592000)](https://pypi.python.org/pypi/launchdarkly-eventsource) -[![Documentation](https://img.shields.io/static/v1?label=GitHub+Pages&message=API+reference&color=00add8)](https://launchdarkly.github.io/python-eventsource) +[![readthedocs](https://readthedocs.org/projects/launchdarkly-sse-client-library/badge/)](https://launchdarkly-sse-client-library.readthedocs.io/en/latest/) ## Overview