Merge pull request #58 from apache/tdigest_docs #42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sphinx | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| build-documentation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install Datasketches and Sphinx | |
| run: python -m pip install . sphinx sphinx-rtd-theme | |
| - name: Run Sphinx | |
| run: cd docs; make html | |
| - name: Pages Deployment | |
| uses: peaceiris/actions-gh-pages@v3.9.3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/build/html | |
| destination_dir: docs/${{ github.ref_name }} | |
| enable_jekyll: false | |
| allow_empty_commit: false | |
| force_orphan: false | |
| publish_branch: gh-pages |