Skip to content

Commit d9c2901

Browse files
committed
feat: run workflow during build
1 parent c3d6400 commit d9c2901

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/deploy.yml

+10
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,18 @@ jobs:
3636
node-version: 18.x
3737
- name: Install MyST Markdown
3838
run: npm install -g mystmd
39+
- uses: actions/setup-python@v5
40+
with:
41+
python-version: '3.12'
42+
cache: 'pip'
43+
- name: Install Python dependencies
44+
run: pip install -r requirements.txt
3945
- name: Build HTML Assets
4046
run: myst build --html
47+
# Only expose secrets here
48+
env:
49+
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
50+
PRIVATE_KEY_ID: ${{ secrets.PRIVATE_KEY_ID }}
4151
- name: Upload artifact
4252
uses: actions/upload-pages-artifact@v3
4353
with:

requirements.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
google-analytics-data
2+
cartopy
3+
matplotlib
4+
jupyter-server
5+
ipykernel

0 commit comments

Comments
 (0)