Skip to content

update docs build in build_and_test.yml #140

update docs build in build_and_test.yml

update docs build in build_and_test.yml #140

Workflow file for this run

name: Pytket cuTensorNet Docs
name: Build Docs

Check failure on line 3 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
on:
push:
branches:
- 'docs/**'
schedule:
# 04:00 every Tuesday morning
- cron: '0 4 * * 2'
jobs:
docs:
name: build docs
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: install poetry
run: pip install poetry
- name: Install docs dependencies
run: cd docs && bash install.sh
- name: Install pytket cutensornet
run: cd docs && poetry run pip install ../.
- name: Test building docs
timeout-minutes: 10
run: |
cd docs
poetry run bash build-docs.sh