diff --git a/.btd.yml b/.btd.yml new file mode 100644 index 0000000..a748736 --- /dev/null +++ b/.btd.yml @@ -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 diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 0391df3..6141c5e 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -8,6 +8,26 @@ on: 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: strategy: fail-fast: false