Skip to content

Add Sphinx/RTD documentation structure #3

Add Sphinx/RTD documentation structure

Add Sphinx/RTD documentation structure #3

Workflow file for this run

name: Documentation
on:
pull_request:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
- name: Install siriushla
run: pip install pyqt-apps
- name: Install dependencies
run: pip install -r pyqt-apps/docs/doc_requirements.txt
- name: Go to Source Folder
run: cd source
- name: Build HTML
run: sphinx-build -b html pyqt-apps/docs/source/ public
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: documentation
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public/
force_orphan: true