Skip to content

Merge pull request #11 from Orange-OpenSource/pre-release-3.4 #55

Merge pull request #11 from Orange-OpenSource/pre-release-3.4

Merge pull request #11 from Orange-OpenSource/pre-release-3.4 #55

Workflow file for this run

name: documentation
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
pages: write
id-token: write
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install -U torch fvcore einops psutil torchvision sphinx shibuya sphinx-autodoc-typehints sphinx-copybutton sphinx-design
- name: Sphinx build
run: |
PYTORCH_JIT=0 sphinx-build docs/source/ docs/build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'docs/build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4