Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
":pinVersions"
],
"enabledManagers": [
"github-actions"
"pip_requirements",
"github-actions"
]
}
196 changes: 0 additions & 196 deletions .github/scripts/build.py

This file was deleted.

26 changes: 8 additions & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,18 @@ jobs:
# Check out the repository code
- uses: actions/checkout@v4

# Install uv package manager for faster Python package installation
- name: 🚀 Install uv
uses: astral-sh/setup-uv@v6

# Set up Python environment
- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12 # Use Python 3.12 for the build

# Install marimo and other required dependencies
- name: 📦 Install dependencies
run: |
uv pip install marimo

# Run the build script to export notebooks to WebAssembly
- name: 🛠️ Export notebooks
- name: Run the dryrun command
run: |
python .github/scripts/build.py # This script exports all notebooks to the _site directory
make dryrun

# Upload the generated site as an artifact for the deploy job
- name: 📤 Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: _site # Directory containing the built site



# The deploy job publishes the built site to GitHub Pages
deploy:
needs: build # This job depends on the build job completing successfully
Expand All @@ -72,3 +58,7 @@ jobs:
- name: 🚀 Deploy to GitHub Pages
id: deployment # ID used to reference this step's outputs
uses: actions/deploy-pages@v4 # GitHub's official Pages deployment action

- name: Display address
run: |
echo ${{ steps.deployment.outputs.page_url }}
Loading