Skip to content

Split and organise environment and container files #180

Split and organise environment and container files

Split and organise environment and container files #180

Workflow file for this run

name: docs
on:
push:
branches: [main, dev]
tags: ["v*"]
pull_request:
branches: [main, dev]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./envs/requirements.txt
pip install -r ./envs/dev/requirements.txt
pip install -r ./envs/build_config/requirements.txt
- name: Sphinx Build
working-directory: ./sphinx
run: |
make html
touch _build/html/.nojekyll
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
branch: dev
folder: sphinx/_build/html
target-folder: docs
clean: true