Skip to content

Commit ce9d031

Browse files
tsting web page
1 parent 00025d9 commit ce9d031

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/test-deploy.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,30 @@
1-
name: Test Marimo Export
1+
name: Deploy Marimo App
22

33
on:
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

97
jobs:
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: ./

0 commit comments

Comments
 (0)