fix: Confusion with Overriding input After Snakemake Modularization #1724
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
# Cancel concurrent flows on PRs | |
group: ci-docs-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
docs: | |
if: github.event.pull_request.merged != true || github.ref != 'refs/heads/main' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Pixi | |
uses: prefix-dev/[email protected] | |
with: | |
environments: "docs" | |
pixi-version: v0.42.1 | |
cache: false # no pixi.lock | |
locked: false | |
- name: Build Docs | |
run: | | |
pixi run --environment docs build-docs | |
- name: Upload documentation | |
uses: actions/upload-artifact@v4 | |
with: | |
name: docs-html | |
path: docs/_build/html/ | |
apidocs: | |
if: github.event.pull_request.merged != true || github.ref != 'refs/heads/main' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Pixi | |
uses: prefix-dev/[email protected] | |
with: | |
environments: "docs" | |
pixi-version: v0.42.1 | |
cache: false # no pixi.lock | |
locked: false | |
- name: Build API Docs | |
run: | | |
pixi run --environment docs build-apidocs | |
- name: Upload documentation | |
uses: actions/upload-artifact@v4 | |
with: | |
name: apidocs-html | |
path: apidocs/_build/html/ |