From 9ad1fd19231b6a9c9835f4465c35eab0f4ae68db Mon Sep 17 00:00:00 2001 From: Matt Richards Date: Tue, 28 Jan 2025 20:26:09 +1100 Subject: [PATCH 1/2] fix docs too --- .github/workflows/deploy_docs.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index eb4839c..aa063c7 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -4,25 +4,25 @@ on: push: branches: - master + - docs jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. + uses: actions/checkout@v4 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. with: persist-credentials: false - name: Set up Python 3.7 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: '3.10' - name: Install and Build 🔧 run: | python -m pip install --upgrade pip pip3 install -U sphinx pip3 install sphinx-rtd-theme - pip3 install -r dev_requirements.txt - pip3 install -e . + pip3 install -r requirements_strict_2024.txt cd docs/ make html touch _build/html/.nojekyll From 656f305e30fca8957ec3b5ba41bf9b0ae605fbda Mon Sep 17 00:00:00 2001 From: Matt Richards Date: Tue, 28 Jan 2025 21:50:52 +1100 Subject: [PATCH 2/2] cln --- .github/workflows/deploy_docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index aa063c7..80fe1af 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - docs jobs: build-and-deploy: runs-on: ubuntu-latest @@ -13,7 +12,7 @@ jobs: uses: actions/checkout@v4 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. with: persist-credentials: false - - name: Set up Python 3.7 + - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.10'