Skip to content

Fix buidling workflow #2

Fix buidling workflow

Fix buidling workflow #2

Workflow file for this run

name: Build and Deploy Docs
on:
push:
branches:
- dev
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
shell: bash
- name: Build documentation
run: |
chmod +x ./build_docs.sh
./build_docs.sh
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_branch: gh-pages