Skip to content

Fix URLS

Fix URLS #25

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
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: 'pip'
cache-dependency-path: requirements/CI-docs.txt
- name: Create venv and install deps
run: |
pip install --upgrade pip wheel
pip install -r requirements/CI-docs.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"}'