Skip to content

Merge pull request #27 from iantbeck/master #2

Merge pull request #27 from iantbeck/master

Merge pull request #27 from iantbeck/master #2

Workflow file for this run

name: Documentation
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
# Build job
build:
defaults:
run:
shell: bash -el {0}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create Environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: docs-env
environment-file: docs/requirements.yml
python-version: ${{ matrix.cfg.python-version }}
miniforge-variant: Mambaforge
use-mamba: true
add-pip-as-python-dependency: true
channels: conda-forge
- name: Conda Environment
run: |
mamba info
mamba list
- name: Build Documentation
run: |
cd docs
make html
- name: GitHub Pages Deploy
uses: JamesIves/github-pages-deploy-action@v4.4.3
if: github.event_name == 'push' && github.repository == 'CCQC/PES-Learn' && ( startsWith( github.ref, 'refs/tags/' ) || github.ref == 'refs/heads/master' )
with:
branch: gh-pages
folder: docs/build/html