Skip to content

Commit

Permalink
added missing folder
Browse files Browse the repository at this point in the history
  • Loading branch information
NicSavichev committed Jan 9, 2024
1 parent 44334d0 commit 431a979
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: documentation

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: write

jobs:
docs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
run: |
sudo apt install -y doxygen
python3 -m pip install --upgrade pip
python3 -m pip install -r _docs/requirements.txt
- name: Build documentation
run: |
python3 _docs/build_all_docs.py
cd _docs
sphinx-build . _build
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _docs/_build
force_orphan: true

0 comments on commit 431a979

Please sign in to comment.