File tree Expand file tree Collapse file tree 1 file changed +10
-15
lines changed
Expand file tree Collapse file tree 1 file changed +10
-15
lines changed Original file line number Diff line number Diff line change 1- name : Test Marimo Export
1+ name : Deploy Marimo App
22
33on :
44 push :
5- branches : [ repo-web-page ] # Only runs on your branch
6- pull_request :
7- branches : [ repo-web-page ]
5+ branches : [ repo-web-page ] # Deploy when you push to your branch
86
97jobs :
10- test-export :
8+ deploy :
119 runs-on : ubuntu-latest
1210 steps :
1311 - uses : actions/checkout@v4
1412
1513 - name : Set up Python
1614 uses : actions/setup-python@v4
1715 with :
18- python-version : ' 3.10 '
16+ python-version : ' 3.9 '
1917
2018 - name : Install dependencies from requirements.txt
2119 run : |
2220 pip install -r requirements.txt
2321
24- - name : Test marimo export
22+ - name : Export marimo app
2523 run : |
26- marimo export html dashboard.py -o test-index.html
27- echo "Export completed successfully"
28- ls -la test-index.html
29- echo "File size: $(wc -c < test-index.html) bytes"
24+ marimo export html dashboard.py -o index.html
3025
31- - name : Upload test artifact
32- uses : actions/upload-artifact@v4
26+ - name : Deploy to GitHub Pages
27+ uses : peaceiris/actions-gh-pages@v3
3328 with :
34- name : marimo-test-export
35- path : test-index.html
29+ github_token : ${{ secrets.GITHUB_TOKEN }}
30+ publish_dir : ./
You can’t perform that action at this time.
0 commit comments