Skip to content

Commit 5f9c036

Browse files
brian-rosejukent
authored andcommitted
Get metrics working (ProjectPythia#522)
* Include jupyterlab in env for metrics * Also include all imported packages * At least one more package * package not available on conda-forge * Pass analystics secrets to the build workflow * Put style.css where it needs to be * Remove redundant requirements file * Undo move, that was the wrong branch * Fix syntax in link checker workflow
1 parent 8eda45e commit 5f9c036

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

.github/workflows/nightly-build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
with:
1313
base_url: ''
1414
path_to_notebooks: 'portal'
15+
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
16+
PRIVATE_KEY_ID: ${{ secrets.PRIVATE_KEY_ID }}
1517

1618
deploy:
1719
needs: build

.github/workflows/publish-site.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
with:
1414
base_url: ''
1515
path_to_notebooks: 'portal'
16+
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
17+
PRIVATE_KEY_ID: ${{ secrets.PRIVATE_KEY_ID }}
1618

1719
deploy:
1820
needs: build

.github/workflows/trigger-link-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ jobs:
66
link-check:
77
uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main
88
with:
9-
path_to_source: 'portal'
9+
path_to_notebooks: 'portal'

environment.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,11 @@ dependencies:
88
- pre-commit
99
- pyyaml
1010
- mystmd
11+
- jupyterlab
12+
- cartopy
13+
- numpy
14+
- matplotlib
15+
- google-api-python-client
16+
- pip
17+
- pip:
18+
- google-analytics-data

requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)