Skip to content

docs: add extensive externally hosted docs (#177) #55

docs: add extensive externally hosted docs (#177)

docs: add extensive externally hosted docs (#177) #55

Workflow file for this run

name: Docs
on:
push:
branches: [main, dev]
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout ZARP repository
uses: actions/checkout@v4
- name: Setup Miniforge with ZARP environment
uses: conda-incubator/setup-miniconda@v3
with:
environment-file: install/environment.dev.yml
miniforge-version: latest
conda-remove-defaults: true
channel-priority: strict
auto-update-conda: true
auto-activate-base: false
activate-environment: zarp
- name: Display Conda and environment info
run: |
conda info -a
conda list
- name: Cache build artifacts
uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
- name: Install doc requirements
run: pip install -r docs/requirements.txt
- name: Publish docs
run: mkdocs gh-deploy --force --clean --verbose