From 332837a7eb87812cf8e98e185d1f244c8abae681 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 29 Jan 2024 22:40:40 -0700 Subject: [PATCH 01/10] Try updated sphinx-pythia-theme --- .github/workflows/build-book.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-book.yaml b/.github/workflows/build-book.yaml index ffb586f..08334f3 100644 --- a/.github/workflows/build-book.yaml +++ b/.github/workflows/build-book.yaml @@ -156,7 +156,7 @@ jobs: && steps.parse_config.outputs.execute_notebooks == 'binder' run: | mamba install -c conda-forge jupyter-book pip - pip install sphinx-pythia-theme + pip install git+https://github.com/ProjectPythia/sphinx-pythia-theme.git@theme-update pip install git+https://github.com/pangeo-gallery/binderbot.git - name: Update execution environment @@ -167,7 +167,6 @@ jobs: && steps.parse_config.outputs.execute_notebooks != 'binder' run: | mamba env update -n ${{ inputs.environment_name }} -f ${{ inputs.environment_file }} - mamba install -c conda-forge sphinxcontrib-applehelp=1.0.7 sphinxcontrib-devhelp=1.0.5 sphinxcontrib-htmlhelp=2.0.4 sphinxcontrib-qthelp=1.0.6 sphinxcontrib-serializinghtml=1.1.9 - name: Get paths to notebook files if: | From f07e3b6a9462719f0ff5a47223a7f11a23054927 Mon Sep 17 00:00:00 2001 From: Orhan Eroglu <32553057+erogluorhan@users.noreply.github.com> Date: Thu, 1 Feb 2024 20:44:53 -0700 Subject: [PATCH 02/10] Update deploy-book.yaml to use the branch try_updated_theme rather than main --- .github/workflows/deploy-book.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-book.yaml b/.github/workflows/deploy-book.yaml index 89f606c..2bfafe1 100644 --- a/.github/workflows/deploy-book.yaml +++ b/.github/workflows/deploy-book.yaml @@ -62,7 +62,7 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3.9.3 if: | - (github.ref == 'refs/heads/main' + (github.ref == 'refs/heads/try_updated_theme' && inputs.cname == 'None') with: github_token: ${{ secrets.GITHUB_TOKEN }} From b59cb8a9efd2a1ecad92f2fd5c7eb4acfdd452e0 Mon Sep 17 00:00:00 2001 From: Orhan Eroglu <32553057+erogluorhan@users.noreply.github.com> Date: Thu, 1 Feb 2024 21:04:50 -0700 Subject: [PATCH 03/10] Update deploy-book.yaml --- .github/workflows/deploy-book.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-book.yaml b/.github/workflows/deploy-book.yaml index 2bfafe1..1738529 100644 --- a/.github/workflows/deploy-book.yaml +++ b/.github/workflows/deploy-book.yaml @@ -74,7 +74,7 @@ jobs: - name: Deploy to GitHub Pages with custom domain uses: peaceiris/actions-gh-pages@v3.9.3 if: | - (github.ref == 'refs/heads/main' + (github.ref == 'refs/heads/try_updated_theme' && inputs.cname != 'None') with: github_token: ${{ secrets.GITHUB_TOKEN }} From 30e916739dfdb7c6291e119470f4523cdac727ef Mon Sep 17 00:00:00 2001 From: Orhan Eroglu <32553057+erogluorhan@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:21:41 -0700 Subject: [PATCH 04/10] Update build-book.yaml --- .github/workflows/build-book.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-book.yaml b/.github/workflows/build-book.yaml index 08334f3..c36b5b1 100644 --- a/.github/workflows/build-book.yaml +++ b/.github/workflows/build-book.yaml @@ -156,7 +156,7 @@ jobs: && steps.parse_config.outputs.execute_notebooks == 'binder' run: | mamba install -c conda-forge jupyter-book pip - pip install git+https://github.com/ProjectPythia/sphinx-pythia-theme.git@theme-update + pip install git+https://github.com/ProjectPythia/sphinx-pythia-theme.git@theme-update-more pip install git+https://github.com/pangeo-gallery/binderbot.git - name: Update execution environment From 9c48d316adde4221bd54f6e5164201a41a9fc6ae Mon Sep 17 00:00:00 2001 From: Orhan Eroglu <32553057+erogluorhan@users.noreply.github.com> Date: Sat, 17 Feb 2024 08:26:33 -0700 Subject: [PATCH 05/10] Update build-book.yaml --- .github/workflows/build-book.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-book.yaml b/.github/workflows/build-book.yaml index c36b5b1..08334f3 100644 --- a/.github/workflows/build-book.yaml +++ b/.github/workflows/build-book.yaml @@ -156,7 +156,7 @@ jobs: && steps.parse_config.outputs.execute_notebooks == 'binder' run: | mamba install -c conda-forge jupyter-book pip - pip install git+https://github.com/ProjectPythia/sphinx-pythia-theme.git@theme-update-more + pip install git+https://github.com/ProjectPythia/sphinx-pythia-theme.git@theme-update pip install git+https://github.com/pangeo-gallery/binderbot.git - name: Update execution environment From af14ab67310244af271ff1dae0f5377e26605403 Mon Sep 17 00:00:00 2001 From: Orhan Eroglu <32553057+erogluorhan@users.noreply.github.com> Date: Wed, 27 Mar 2024 17:12:01 -0600 Subject: [PATCH 06/10] Update build-book.yaml --- .github/workflows/build-book.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-book.yaml b/.github/workflows/build-book.yaml index 08334f3..943752b 100644 --- a/.github/workflows/build-book.yaml +++ b/.github/workflows/build-book.yaml @@ -156,7 +156,7 @@ jobs: && steps.parse_config.outputs.execute_notebooks == 'binder' run: | mamba install -c conda-forge jupyter-book pip - pip install git+https://github.com/ProjectPythia/sphinx-pythia-theme.git@theme-update + pip install sphinx-pythia-theme pip install git+https://github.com/pangeo-gallery/binderbot.git - name: Update execution environment From 0fde8f16d7b1302ce79bf52707a20267dbbb8ecd Mon Sep 17 00:00:00 2001 From: Orhan Eroglu <32553057+erogluorhan@users.noreply.github.com> Date: Wed, 27 Mar 2024 17:41:13 -0600 Subject: [PATCH 07/10] Update deploy-book.yaml --- .github/workflows/deploy-book.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-book.yaml b/.github/workflows/deploy-book.yaml index 1738529..89f606c 100644 --- a/.github/workflows/deploy-book.yaml +++ b/.github/workflows/deploy-book.yaml @@ -62,7 +62,7 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3.9.3 if: | - (github.ref == 'refs/heads/try_updated_theme' + (github.ref == 'refs/heads/main' && inputs.cname == 'None') with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -74,7 +74,7 @@ jobs: - name: Deploy to GitHub Pages with custom domain uses: peaceiris/actions-gh-pages@v3.9.3 if: | - (github.ref == 'refs/heads/try_updated_theme' + (github.ref == 'refs/heads/main' && inputs.cname != 'None') with: github_token: ${{ secrets.GITHUB_TOKEN }} From 186b30b49bfe3c0827abb2c063418d53f6390239 Mon Sep 17 00:00:00 2001 From: Orhan Eroglu <32553057+erogluorhan@users.noreply.github.com> Date: Wed, 27 Mar 2024 21:43:44 -0600 Subject: [PATCH 08/10] Update build-book.yaml --- .github/workflows/build-book.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-book.yaml b/.github/workflows/build-book.yaml index 943752b..c205781 100644 --- a/.github/workflows/build-book.yaml +++ b/.github/workflows/build-book.yaml @@ -158,6 +158,7 @@ jobs: mamba install -c conda-forge jupyter-book pip pip install sphinx-pythia-theme pip install git+https://github.com/pangeo-gallery/binderbot.git + mamba list - name: Update execution environment if: | From a8189751f1de4466815a0e966b7344c1ef08c2b2 Mon Sep 17 00:00:00 2001 From: Orhan Eroglu <32553057+erogluorhan@users.noreply.github.com> Date: Wed, 27 Mar 2024 21:47:50 -0600 Subject: [PATCH 09/10] Update build-book.yaml --- .github/workflows/build-book.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-book.yaml b/.github/workflows/build-book.yaml index c205781..5120348 100644 --- a/.github/workflows/build-book.yaml +++ b/.github/workflows/build-book.yaml @@ -167,7 +167,9 @@ jobs: || steps.env_change.outputs.any_changed == 'true') && steps.parse_config.outputs.execute_notebooks != 'binder' run: | + mamba list mamba env update -n ${{ inputs.environment_name }} -f ${{ inputs.environment_file }} + mamba list - name: Get paths to notebook files if: | From 438ca170c764e1ff80e1bcbb4f0c3337fa97d704 Mon Sep 17 00:00:00 2001 From: Orhan Eroglu <32553057+erogluorhan@users.noreply.github.com> Date: Wed, 27 Mar 2024 21:49:28 -0600 Subject: [PATCH 10/10] Update build-book.yaml --- .github/workflows/build-book.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-book.yaml b/.github/workflows/build-book.yaml index 5120348..7ed2ac5 100644 --- a/.github/workflows/build-book.yaml +++ b/.github/workflows/build-book.yaml @@ -156,7 +156,7 @@ jobs: && steps.parse_config.outputs.execute_notebooks == 'binder' run: | mamba install -c conda-forge jupyter-book pip - pip install sphinx-pythia-theme + mamba install sphinx-pythia-theme pip install git+https://github.com/pangeo-gallery/binderbot.git mamba list