Skip to content

Merge pull request #122 from tsgit/main #116

Merge pull request #122 from tsgit/main

Merge pull request #122 from tsgit/main #116

Workflow file for this run

name: Build docs
on:
push:
branches:
- main
jobs:
build:
if: ${{ github.repository == 'slaclab/nalms' }}
runs-on: ubuntu-latest
name: Build docs
strategy:
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: true
activate-environment: true
python-version: ${{ matrix.python-version }}
channels: anaconda,conda-forge
channel-priority: flexible
- name: Build package
shell: bash -l {0}
run: |
conda config --set always_yes yes --set changeps1 no
conda install --file docs-requirements.txt
mkdocs build
mkdocs gh-deploy --force