Skip to content

Workflow file for this run

name: docs
on:
push
permissions:
contents: read
jobs:
docs:
name: Docs
runs-on: self-hosted
steps:
steps:

Check failure on line 12 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 12
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install sphinx
pip install autodocsumm
pip install sphinx-rtd-theme
- name: Build docs
run: |
cd docs
make html
# https://github.com/peaceiris/actions-gh-pages
- name: Deploy
if: success()
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.TOKEN }}
publish_dir: docs/_build/html/