Upgrade pixi deps #20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Deploy Marimo Pages | |
| on: | |
| push: | |
| branches: | |
| - pixi-setup | |
| paths: | |
| - "marimo/**" | |
| - ".github/workflows/deploy-marimo-pages.yml" | |
| - "pixi.lock" | |
| - "pyproject.toml" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Set up pixi | |
| uses: prefix-dev/[email protected] | |
| with: | |
| manifest-path: pyproject.toml | |
| cache: true | |
| - name: Ensure docs directory exists | |
| run: mkdir -p docs/sec10k-data-review/ | |
| - name: Export Marimo notebooks | |
| run: | | |
| pixi run marimo export html-wasm marimo/sec10k-data-review.py -o docs/sec10k-data-review/ --mode edit | |
| - name: Verify generated files | |
| run: | | |
| echo "Generated files:" | |
| find docs -type f -name "*.html" -exec ls -la {} \; | |
| - name: Upload Pages Artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: docs/ | |
| deploy: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| permissions: | |
| pages: write | |
| id-token: write | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 | |
| with: | |
| artifact_name: github-pages |