ci: use BuildTheDocs
This commit is contained in:
parent
50c395bef3
commit
39c8721e33
|
|
@ -0,0 +1,6 @@
|
||||||
|
input: doc
|
||||||
|
output: _build
|
||||||
|
requirements: requirements.txt
|
||||||
|
target: gh-pages
|
||||||
|
formats: [ html ]
|
||||||
|
theme: https://codeload.github.com/buildthedocs/sphinx.theme/tar.gz/v1
|
||||||
|
|
@ -8,6 +8,26 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|
||||||
|
doc:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: '📓 Docs'
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: '🧰 Checkout'
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: '📓 BuildTheDocs (BTD)'
|
||||||
|
uses: buildthedocs/btd@v0
|
||||||
|
with:
|
||||||
|
token: ${{ github.token }}
|
||||||
|
skip-deploy: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
|
- name: '📤 Upload artifact: HTML'
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
path: doc/_build/html
|
||||||
|
|
||||||
|
|
||||||
lin-build:
|
lin-build:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue