From 5e1d97193ded16de80614803a351070965aa4851 Mon Sep 17 00:00:00 2001 From: Alexander Weber <12560547+lllAlexanderlll@users.noreply.github.com> Date: Mon, 15 Jan 2024 14:46:28 +0000 Subject: [PATCH] ci: build and deploy docs --- ...tation.yml => build_and_deploy_documentation.yml} | 12 ++++++++++++ 1 file changed, 12 insertions(+) rename .github/workflows/{build_documentation.yml => build_and_deploy_documentation.yml} (61%) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_and_deploy_documentation.yml similarity index 61% rename from .github/workflows/build_documentation.yml rename to .github/workflows/build_and_deploy_documentation.yml index 02a641bf..7f984883 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_and_deploy_documentation.yml @@ -20,5 +20,17 @@ jobs: run: | sphinx-build -M html docs/source/ docs/build/ sphinx-apidoc -o docs/source/api src/modalities + pages: + runs-on: ubuntu-20.04 + steps: + - name : "Deploy Github Pages" + - id: deployment + uses: sphinx-notes/pages@v3 + with: + publish: false + - uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ${{ steps.deployment.outputs.artifact }} \ No newline at end of file