From d4b31d20ca34dbd2cdad9238b8d03372a1e489a2 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Thu, 19 Jun 2025 09:59:13 -0400 Subject: [PATCH 1/9] Include jupyterlab in env for metrics --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index ee9c7b128..eef6da741 100644 --- a/environment.yml +++ b/environment.yml @@ -8,3 +8,4 @@ dependencies: - pre-commit - pyyaml - mystmd +- jupyterlab From 9133fe897ab2d46c3655dd556d7c26828644a52a Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Thu, 19 Jun 2025 10:05:32 -0400 Subject: [PATCH 2/9] Also include all imported packages --- environment.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/environment.yml b/environment.yml index eef6da741..e7461bb45 100644 --- a/environment.yml +++ b/environment.yml @@ -9,3 +9,7 @@ dependencies: - pyyaml - mystmd - jupyterlab +- cartopy +- numpy +- matplotlib +- google-api-python-client From 94cff6d3585fc7c70cdeeb0cf9f0ba9c64abee79 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Thu, 19 Jun 2025 10:10:12 -0400 Subject: [PATCH 3/9] At least one more package --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index e7461bb45..d5319403c 100644 --- a/environment.yml +++ b/environment.yml @@ -13,3 +13,4 @@ dependencies: - numpy - matplotlib - google-api-python-client +- google-analytics-data From 699a1bfefe3ecb9e1e2bc01e2fb7cfd6f81fa0aa Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Thu, 19 Jun 2025 10:16:53 -0400 Subject: [PATCH 4/9] package not available on conda-forge --- environment.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index d5319403c..3ee2b07b0 100644 --- a/environment.yml +++ b/environment.yml @@ -13,4 +13,6 @@ dependencies: - numpy - matplotlib - google-api-python-client -- google-analytics-data +- pip +- pip: + - google-analytics-data From 248ae936746e1cb290d5aa26e251f043e238c972 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Thu, 19 Jun 2025 10:41:44 -0400 Subject: [PATCH 5/9] Pass analystics secrets to the build workflow --- .github/workflows/nightly-build.yaml | 2 ++ .github/workflows/publish-site.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/nightly-build.yaml b/.github/workflows/nightly-build.yaml index 50cd847cd..f0fe502e8 100644 --- a/.github/workflows/nightly-build.yaml +++ b/.github/workflows/nightly-build.yaml @@ -11,6 +11,8 @@ jobs: uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main with: base_url: '' + PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} + PRIVATE_KEY_ID: ${{ secrets.PRIVATE_KEY_ID }} deploy: needs: build diff --git a/.github/workflows/publish-site.yaml b/.github/workflows/publish-site.yaml index c602aeb38..3ece7363b 100644 --- a/.github/workflows/publish-site.yaml +++ b/.github/workflows/publish-site.yaml @@ -12,6 +12,8 @@ jobs: uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main with: base_url: '' + PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} + PRIVATE_KEY_ID: ${{ secrets.PRIVATE_KEY_ID }} deploy: needs: build From 674cb16ff476f7d9e5929bf4397a60d997df55ce Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Thu, 19 Jun 2025 13:52:16 -0400 Subject: [PATCH 6/9] Put style.css where it needs to be --- style.css => portal/style.css | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename style.css => portal/style.css (100%) diff --git a/style.css b/portal/style.css similarity index 100% rename from style.css rename to portal/style.css From 3f046a425a6a7bb3205272d75bfb2a61ff2b183b Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Thu, 19 Jun 2025 13:52:33 -0400 Subject: [PATCH 7/9] Remove redundant requirements file --- requirements.txt | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 3a941270a..000000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -google-analytics-data -cartopy -matplotlib -jupyter-server -ipykernel From 75efd1eb3361f18b7f29a4d5d9b32134ee910b39 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Thu, 19 Jun 2025 13:55:09 -0400 Subject: [PATCH 8/9] Undo move, that was the wrong branch --- portal/style.css => style.css | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename portal/style.css => style.css (100%) diff --git a/portal/style.css b/style.css similarity index 100% rename from portal/style.css rename to style.css From 227c83618fe5dfbfacac957f3de98d4eaee80f7d Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Thu, 19 Jun 2025 14:07:42 -0400 Subject: [PATCH 9/9] Fix syntax in link checker workflow --- .github/workflows/trigger-link-check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-link-check.yaml b/.github/workflows/trigger-link-check.yaml index 353d4a56e..d9db119e7 100644 --- a/.github/workflows/trigger-link-check.yaml +++ b/.github/workflows/trigger-link-check.yaml @@ -6,4 +6,4 @@ jobs: link-check: uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main with: - path_to_source: 'portal' + path_to_notebooks: 'portal'