Skip to content

trying with approved action #2

trying with approved action

trying with approved action #2

Workflow file for this run

name: Docs
on: [push, pull_request]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Check failure on line 5 in .github/workflows/documentation.yaml

View workflow run for this annotation

GitHub Actions / Docs

Invalid workflow file

The workflow is not valid. .github/workflows/documentation.yaml (Line: 5, Col: 1): Unexpected value 'workflow_dispatch'
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme
- name: Sphinx build
run: |
sphinx-build doc _build
- name: Sphinx to gh-pages Action
uses: uibcdf/[email protected]
with:
dir_docs: docs
sphinxapiopts: '--separate -o . ../'
sphinxapiexclude: '../*setup* ../*.ipynb'
sphinxopts: ''