Skip to content

Update requirements files #18

Update requirements files

Update requirements files #18

Workflow file for this run

name: documentation
on:
push:
pull_request:
workflow_dispatch:
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependancies for building documentation.
run: |
python -m pip install --upgrade pip
python -m pip install sphinx sphinx_rtd_theme
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build the documentation
run: |
cd docs
make html
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: docs
path: /home/runner/work/vformer/vformer/docs/_build/html
if-no-files-found: error
retention-days: 20