Fix documentation pages #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Pages" | |
on: | |
push: | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
"build-job": | |
runs-on: "ubuntu-latest" # tested with ubuntu-22.04 | |
steps: | |
- name: "Setup Python" | |
uses: "actions/setup-python@v4" # tested with v4.7.0 | |
with: | |
python-version: "3.10" # tested with v3.10.13 | |
- name: "Create conda environment" | |
run: "conda env create --file conda-environment.yml" | |
- name: "Install Poetry" | |
run: "python -m pip install poetry" # tested with Poetry v1.5.1 | |
- name: "Checkout" | |
uses: "actions/checkout@v4" # tested with v4.0.0 | |
- name: "Install dependencies with Poetry" | |
run: "conda --name mxcubeweb run poetry install" | |
- name: "Build documentation with Sphinx" | |
run: "conda --name mxcubeweb run poetry run make --directory=./docs/ html" | |
... # EOF |