diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml new file mode 100644 index 00000000..9f2714e7 --- /dev/null +++ b/.github/workflows/build-documentation.yml @@ -0,0 +1,23 @@ +name: Documentation +on: + push: + branches: + - development + +jobs: + build-doc: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install Dependencies + run: | + apt-get install python-sphinx furo + cd python-client/sphinx + sphinx-apidoc -o . ../tira + make html + - name: Deploy + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: python-client/sphinx/_build/html + target-folder: nightly