Skip to content

watch yml

watch yml #49

Workflow file for this run

name: Sphinx build
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "docs/**"
- ".github/workflows/docs.yml"
jobs:
install:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: false
activate-environment: hprepo
environment-file: hp_environment.yml
- name: install
run: |
conda env list
conda info
conda list
conda install -c conda-forge pip
pip install --upgrade -e .
conda list
build:
runs-on: ubuntu-latest
steps:
- name: Installing the Documentation requirements
run: |
pip install sphinx sphinx_rtd_theme
- name: Deploy
uses: uibcdf/action-sphinx-docs-to-gh-pages@main
with:
branch: main
dir_docs: docs/source