Fix Action Workflow (#5)

This commit is contained in:
鹤翔万里 2021-01-24 14:06:44 +08:00 committed by GitHub
parent 4494d80a4c
commit c0852eae88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 12 deletions

View file

@ -1,9 +1,6 @@
name: docs
on:
push:
paths:
- 'docs/*'
on: push
jobs:
docs:
@ -32,11 +29,12 @@ jobs:
run: |
cd docs
export PATH="$PATH:/home/runner/.local/bin"
export SPHINXBUILD="python3 -m sphinx"
make html
- name: Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@master
env:
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
ACCESS_TOKEN: ${{ secrets.DOC_DEPLOY_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build/html

View file

@ -1,9 +1,3 @@
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,