Skip to content

Update doc build

Update doc build #1

Workflow file for this run

name: Docs build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build HTML
uses: ammaraskar/sphinx-action@master
with:

Check failure on line 12 in .github/workflows/push-docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/push-docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
docs-folder: "doc/"
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: html-docs
path: doc/_build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# If pushing into main branch, also deploy to github pages
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/_build/html