Skip to content

Merge pull request #14 from sagerpascal/features/videos_hp #105

Merge pull request #14 from sagerpascal/features/videos_hp

Merge pull request #14 from sagerpascal/features/videos_hp #105

name: Docs
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install sphinx~=7.0.1 sphinx-press-theme~=0.8.0 sphinxcontrib-video~=0.1.1
- name: Sphinx build
run: |
sphinx-build docs _build
- name: Deploy
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: _build/
force_orphan: true