/
redgpu
/
nvidia-ProtoMotions
Обзор
Документация
Войти
/
redgpu
/
nvidia-ProtoMotions
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/deploy-docs.yml
60 строк
1 KB
protomotions
Fetch LFS media for GitHub Pages
02 июл 2026, 07:26
02 июл 2026, 07:26
dd5125b
Код
Авторство
О чём код?
name: Deploy Sphinx Documentation to GitHub Pages on: push: branches: - main paths: - 'docs/**' - '.github/workflows/deploy-docs.yml' workflow_dispatch: # Allow manual triggering permissions: contents: read pages: write id-token: write # Allow only one concurrent deployment concurrency: group: "pages" cancel-in-progress: false jobs: build: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 with: lfs: true - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.11' cache: 'pip' - name: Install documentation dependencies run: | pip install -r docs/requirements.txt - name: Build Sphinx documentation run: | cd docs make html - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: path: 'docs/build/html' deploy: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4