Skip to content

Commit

Permalink
auto-build docs on push
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia-kats committed Aug 30, 2021
1 parent 603fbaf commit 6bd6d1c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: docs
on: [push]

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Cache pip
uses: actions/cache@v2
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- run: pip install .[docs]
- name: Running the Sphinx to gh-pages Action
uses: uibcdf/[email protected]
with:
branch: master
dir_docs: docs/source
sphinxopts: ''

0 comments on commit 6bd6d1c

Please sign in to comment.