diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml new file mode 100644 index 0000000..e51c40c --- /dev/null +++ b/.github/workflows/docs-build.yml @@ -0,0 +1,18 @@ +name: "Sphinx Docs Check" +on: +- pull_request + +jobs: + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: ammaraskar/sphinx-action@master + with: + docs-folder: "./" + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: build/html/ + commit_message: "branch: ${{ github.head_ref }}" diff --git a/requirements.txt b/requirements.txt index 19c1e6b..69ae054 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ Pillow -Sphinx==1.8.5 +Sphinx==3.5.4 sphinx-rtd-theme sphinxcontrib-httpdomain sphinxcontrib-images