Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:

permissions:
contents: read
pages: write
id-token: write

jobs:
lint:
Expand Down Expand Up @@ -64,3 +66,41 @@ jobs:
run: |
cd docs
make html

deploy-docs:
runs-on: ubuntu-latest
needs: docs
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install dependencies
run: |
pip install -e ".[dev]"
pip install sphinx sphinx-rtd-theme

- name: Build docs
run: |
cd docs
make html
touch _build/html/.nojekyll

- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/html

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ the regularized horseshoe prior, which provides strong shrinkage for irrelevant
features while preserving truly relevant signals.

* Free software: MIT license
* Documentation: https://bayesian-feature-selection.readthedocs.io.
* Documentation: https://macromagic.github.io/bayesian_feature_selection/


Features
Expand Down
Loading