Skip to content

fix path to requirements file for docs build #2

fix path to requirements file for docs build

fix path to requirements file for docs build #2

Workflow file for this run

name: Documentation
on:
push:
branches: ["docs"]
paths:
- 'docs'
- '.github/workflows/docs.yml'
- 'VERSION'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
container:
image: sphinxdoc/sphinx
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Additional python packages
run: pip3 install -r src/requirements-docs.txt
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build current docs
run: |
cd docs
make html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/_build/html
## # Deployment job
## 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
##