Skip to content

A quickstart is made #26

A quickstart is made

A quickstart is made #26

Workflow file for this run

name: Publish Docs On Change
on:
push:
branches:
- main
- dev
- master
permissions:
contents: write
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
if: github.event.repository.fork == false
defaults:
run:
shell: bash -x -l {0}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all commits/branches
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install dependencies
run: pip install mkdocs-material pymdown-extensions pillow cairosvg mike nf-core
- name: Build parameter docs
run: nf-core schema docs --format markdown --columns parameter,description,default --output docs/parameters.md --force
- name: Build docs
run: |
RELEASE=$(curl -sL https://api.github.com/repos/Joon-Klaps/viralgenie/releases | jq -r '.[0].tag_name')
echo "${RELEASE}"
mike deploy --push --update-aliases "${RELEASE}" latest
mike set-default --push latest