Skip to content

Average shared span for multiple matches #12

Average shared span for multiple matches

Average shared span for multiple matches #12

Workflow file for this run

name: Build Docs
on:
pull_request:
push:
branches: [main]
tags:
- '*'
jobs:
build-deploy-docs:
name: Docs
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
python-version: "3.11"
cache: "pip"
- name: Create venv and install deps (one by one to avoid conflict errors)
run: |
pip install --upgrade pip wheel
pip install -r requirements/CI-docs-pip/requirements.txt
- name: Build Docs
run: |
cd docs
make
- name: Trigger docs site rebuild
if: github.ref == 'refs/heads/main'
run: |
curl -X POST https://api.github.com/repos/tskit-dev/tskit-site/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u AdminBot-tskit:${{ secrets.ADMINBOT_TOKEN }} \
--data '{"event_type":"build-docs"}'