Skip to content

Commit 5f38965

Browse files
authored
Modern marimo and a fancy webpage (#8)
* Penguins (#4) * Example with Pandas * Pandas example * works for pandas * ignore __marimo__ * Update Makefile * Update penguins.py * Update pandas_penguins.py * Update fibonacci.py * Update charts.py * Update Makefile * Update deploy.yml * notebooks with preamble * deploy workflow * Update deploy.yml * Update deploy.yml * Update deploy.yml * subfolders of notebooks * remove requirements * site/notebooks * site/notebooks * display webpage address * display webpage address * Update deploy.yml * display webpage address * display webpage address * display webpage address * display webpage address * display webpage address * correcting misleading step title * webpage template * webpage template
1 parent 1f95bed commit 5f38965

10 files changed

Lines changed: 455 additions & 286 deletions

File tree

.github/renovate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
":pinVersions"
88
],
99
"enabledManagers": [
10-
"github-actions"
10+
"pip_requirements",
11+
"github-actions"
1112
]
1213
}

.github/scripts/build.py

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

.github/workflows/deploy.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,18 @@ jobs:
2626
# Check out the repository code
2727
- uses: actions/checkout@v4
2828

29-
# Install uv package manager for faster Python package installation
30-
- name: 🚀 Install uv
31-
uses: astral-sh/setup-uv@v6
32-
33-
# Set up Python environment
34-
- name: 🐍 Set up Python
35-
uses: actions/setup-python@v5
36-
with:
37-
python-version: 3.12 # Use Python 3.12 for the build
38-
39-
# Install marimo and other required dependencies
40-
- name: 📦 Install dependencies
41-
run: |
42-
uv pip install marimo
43-
44-
# Run the build script to export notebooks to WebAssembly
45-
- name: 🛠️ Export notebooks
29+
- name: Run the dryrun command
4630
run: |
47-
python .github/scripts/build.py # This script exports all notebooks to the _site directory
31+
make dryrun
4832
4933
# Upload the generated site as an artifact for the deploy job
5034
- name: 📤 Upload artifact
5135
uses: actions/upload-pages-artifact@v3
5236
with:
5337
path: _site # Directory containing the built site
5438

39+
40+
5541
# The deploy job publishes the built site to GitHub Pages
5642
deploy:
5743
needs: build # This job depends on the build job completing successfully
@@ -72,3 +58,7 @@ jobs:
7258
- name: 🚀 Deploy to GitHub Pages
7359
id: deployment # ID used to reference this step's outputs
7460
uses: actions/deploy-pages@v4 # GitHub's official Pages deployment action
61+
62+
- name: Display address
63+
run: |
64+
echo ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)