From 22b975176ec4facaf0c87a9619d3d9b2e8503d32 Mon Sep 17 00:00:00 2001 From: Jonathan Gangi Date: Wed, 3 Jul 2024 15:31:09 -0300 Subject: [PATCH] Add workflow to build GH pages Add workflow to build GH pages Refers to SPSTRAT-293 --- .github/workflows/docs.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..1dddb1f --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,30 @@ +name: Publish docs + +on: + push: + branches: + - main + workflow_dispatch: {} + +jobs: + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Install OS packages + run: | + sudo apt-get -y update + sudo apt-get install -y libkrb5-dev + - name: Install Tox + run: pip install tox 'virtualenv<20.21.1' + - name: Run Tox + run: tox -e docs + - name: Publish + uses: JamesIves/github-pages-deploy-action@4.1.3 + with: + branch: gh-pages + folder: docs/_build/html