From e30c91e2cc41904ac1e17ecb25f05f8b50927fc5 Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Fri, 15 Nov 2024 09:26:07 -0500 Subject: [PATCH 1/3] #29: change target branch for docs deployment --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 816c82b..2a58ba4 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -2,7 +2,7 @@ name: Deploy docs on: push: - branches: [ main ] + branches: [ develop, 29-deploy-docs-on-pushes-to-develop ] jobs: build-and-deploy-docs: From 20f7b52077ca462e65586674b3bfbb77c44cb1b9 Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Fri, 15 Nov 2024 09:28:52 -0500 Subject: [PATCH 2/3] #29: fix docs dir --- .github/workflows/deploy-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 2a58ba4..b449b6e 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -8,7 +8,7 @@ jobs: build-and-deploy-docs: runs-on: ubuntu-latest env: - docs-directory: /home/runner/work/pressio/pressio-ops/docs + docs-directory: ./docs python-version: '3.10' steps: @@ -20,7 +20,7 @@ jobs: architecture: 'x64' - name: Install Python dependencies run: | - pip3 install -r ./docs/build_requirements.txt + pip3 install -r ${{ env.docs-directory }}/build_requirements.txt - name: Build documentation working-directory: ${{ env.docs-directory }} run: | From 1511aa2060dde64404d083fc313bf4fc5b73cb21 Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Fri, 15 Nov 2024 09:30:31 -0500 Subject: [PATCH 3/3] #29: remove current branch from targets --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index b449b6e..7be1712 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -2,7 +2,7 @@ name: Deploy docs on: push: - branches: [ develop, 29-deploy-docs-on-pushes-to-develop ] + branches: [ develop ] jobs: build-and-deploy-docs: