Skip to content

Merge pull request #26 from watakandai/dockerfile #13

Merge pull request #26 from watakandai/dockerfile

Merge pull request #26 from watakandai/dockerfile #13

Workflow file for this run

name: "Deploy Documentation"
on:
push:
branches:
- main # Change to your main branch name if different
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python3 -m pip install -r requirements.txt && python3 -m pip install -r docs/requirements.txt
- name: Sphinx build
run: |
python3 -m sphinx docs docs/build
# Great extra actions to compose with:
# Create an artifact of the html output.
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: html-docs
path: docs/build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
# if: github.ref == 'refs/heads/main'
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build