Skip to content

Fix custom sampler setup and add a test #81

Fix custom sampler setup and add a test

Fix custom sampler setup and add a test #81

name: Publish the documentation
on:
push:
branches: [main]
permissions:
contents: write
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout the branch
uses: actions/checkout@v2.3.1
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: "3.10"
- name: Build the documentation with Sphinx
run: |
pip install -r requirements-doc.txt
sphinx-build -b html docs/source docs/build/html
- name: Publish the documentation
uses: JamesIves/github-pages-deploy-action@3.6.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build/html
CLEAN: true