Skip to content

fix error in github action #1

fix error in github action

fix error in github action #1

Workflow file for this run

me: Build and Deploy Sphinx Documentation

Check failure on line 1 in .github/workflows/documentation.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/documentation.yml

Invalid workflow file

The workflow is not valid. .github/workflows/documentation.yml (Line: 1, Col: 1): Unexpected value 'me'
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx
pip install renku-sphinx-theme
- name: Build documentation
run: |
sphinx-apidoc -o docs regdiffusion/
cd docs
make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html