Update to 2.14.0 #52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish doc site | |
on: | |
push: | |
branches: | |
- main # Set a branch to deploy | |
jobs: | |
deploy: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.6' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | |
# this Action should follow steps to set up Python build environment | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
- name: Build html | |
run: | | |
sphinx-build -b html predocs docs/_build/html | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/_build/html |