A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
docs: add deploy vercel docs
Myles Scolnick1f2f4375bae5
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlnew file mode 100644index 0000000000..bd26f8e142--- /dev/null+++ b/.github/workflows/docs.yml@@ -0,0 +1,40 @@+name: Build and Deploy Docs++on:+ # Deploy on push to main+ push:+ branches: [main]+ # Deploy on workflow dispatch+ workflow_dispatch: {}++env:+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}++jobs:+ deploy:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4++ - name: 🐍 Set up Python+ uses: actions/setup-python@v5+ with:+ python-version: 3.12+ cache: 'pip'++ - name: 🥚 Install hatch+ run: pip install hatch++ - name: 📚 Build docs+ run: hatch run docs:build++ - name: ⚡ Install Vercel CLI+ run: npm install --global vercel@latest++ - name: ⬇️ Pull Vercel Environment Information+ run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}++ - name: 🚀 Deploy to Vercel+ if: github.ref == 'refs/heads/main'+ run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}diff --git a/.gitignore b/.gitignoreindex 28dea1c167..5bbefcb172 100644--- a/.gitignore+++ b/.gitignore@@ -110,6 +110,7 @@ marimo/_static/marimo/_lsp/.vscode+.vercel.marimo.toml.mypy_cache/