Skip to content

Commit

Permalink
🧹 add docs workdflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsaki committed Oct 19, 2024
1 parent 1db833c commit 411e2b3
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy Documentation

on:
push:
branches:
- main # or your default branch

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"

- name: Install dependencies
run: |
pip install sphinx nbsphinx sphinx-rtd-theme
- name: Build docs
run: |
cd docs
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html

0 comments on commit 411e2b3

Please sign in to comment.