Skip to content

Commit 2761b2f

Browse files
committed
👷 CI: Add CI steps to create streamlit example branch and deploy EMP report
1 parent b25b402 commit 2761b2f

File tree

2 files changed

+23
-169
lines changed

2 files changed

+23
-169
lines changed

‎.github/workflows/docs.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
run: |
3636
cd docs
3737
sphinx-build -n --keep-going -b html ./ ./_build/
38+
# --- HTML example deployment ---
3839
- name: Rename entry point of report to index.html
3940
run: |
4041
mv docs/quarto_report/quarto_report.html docs/quarto_report/index.html
@@ -50,3 +51,24 @@ jobs:
5051
# with:
5152
# name: Sphinx_${{ matrix.python-version }}
5253
# path: docs/_build/
54+
55+
# --- Streamlit example deployment ---
56+
- name: Configure Git for Streamlit example branch
57+
run: |
58+
git config --global user.name "github-actions[bot]"
59+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
60+
- name: Create or reset Streamlit example branch
61+
run: |
62+
git fetch origin
63+
git checkout -B streamlit-example
64+
- name: Remove all existing files except .git
65+
run: |
66+
find . -mindepth 1 -maxdepth 1 ! -name '.git' -exec rm -rf {} +
67+
- name: Copy necessary Streamlit files
68+
run: |
69+
git checkout main -- docs/streamlit_report docs/example_data/Earth_microbiome_vuegen_demo_notebook requirements.txt
70+
- name: Commit and push to streamlit-example branch
71+
run: |
72+
git add .
73+
git commit -m "Update Streamlit example deployment files"
74+
git push --force origin streamlit-example

‎requirements.txt‎

Lines changed: 1 addition & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -1,169 +1 @@
1-
aiohappyeyeballs==2.4.4
2-
aiohttp==3.11.10
3-
aiosignal==1.3.2
4-
altair==5.5.0
5-
anyio==4.7.0
6-
appnope==0.1.4
7-
argon2-cffi-bindings==21.2.0
8-
argon2-cffi==23.1.0
9-
arrow==1.3.0
10-
asttokens==3.0.0
11-
async-lru==2.0.4
12-
async-timeout==5.0.1
13-
attrs==24.3.0
14-
babel==2.16.0
15-
beautifulsoup4==4.12.3
16-
bleach==6.2.0
17-
blinker==1.9.0
18-
bokeh==2.4.3
19-
cachetools==5.5.0
20-
certifi==2024.12.14
21-
cffi==1.17.1
22-
charset-normalizer==3.4.0
23-
click==8.1.7
24-
colorama==0.4.6
25-
colorcet==3.1.0
26-
comm==0.2.2
27-
contourpy==1.3.0
28-
cssselect==1.2.0
29-
cssutils==2.11.1
30-
cycler==0.12.1
31-
dataframe-image==0.2.6
32-
debugpy==1.8.11
33-
decorator==5.1.1
34-
defusedxml==0.7.1
35-
et-xmlfile==2.0.0
36-
exceptiongroup==1.2.2
37-
executing==2.1.0
38-
fastjsonschema==2.21.1
39-
fonttools==4.55.3
40-
fqdn==1.5.1
41-
frozenlist==1.5.0
42-
gitdb==4.0.11
43-
gitpython==3.1.43
44-
h11==0.14.0
45-
holoviews==1.16.2
46-
html2image==2.0.5
47-
httpcore==1.0.7
48-
httpx==0.28.1
49-
idna==3.10
50-
importlib-metadata==8.5.0
51-
importlib-resources==6.4.5
52-
ipykernel==6.29.5
53-
ipython==8.18.1
54-
ipywidgets==8.1.5
55-
isoduration==20.11.0
56-
itables==2.2.4
57-
jedi==0.19.2
58-
json5==0.10.0
59-
jsonpickle==4.0.1
60-
jsonpointer==3.0.0
61-
jsonschema-specifications==2024.10.1
62-
jsonschema==4.23.0
63-
jsonschema[format-nongpl]==4.23.0
64-
jupyter-client==8.6.3
65-
jupyter-console==6.6.3
66-
jupyter-core==5.7.2
67-
jupyter-events==0.11.0
68-
jupyter-lsp==2.2.5
69-
jupyter-server-terminals==0.5.3
70-
jupyter-server==2.14.2
71-
jupyter==1.1.1
72-
jupyterlab-pygments==0.3.0
73-
jupyterlab-server==2.27.3
74-
jupyterlab-widgets==3.0.13
75-
jupyterlab==4.3.3
76-
kaleido==0.2.1
77-
kiwisolver==1.4.7
78-
lxml==5.3.0
79-
markdown-it-py==3.0.0
80-
markdown==3.7
81-
markupsafe==3.0.2
82-
matplotlib-inline==0.1.7
83-
matplotlib==3.9.4
84-
mdurl==0.1.2
85-
mistune==3.0.2
86-
more-itertools==10.5.0
87-
multidict==6.1.0
88-
narwhals==1.18.4
89-
nbclient==0.10.1
90-
nbconvert==7.16.4
91-
nbformat==5.10.4
92-
nest-asyncio==1.6.0
93-
networkx==3.2.1
94-
notebook-shim==0.2.4
95-
notebook==7.3.1
96-
numpy==2.0.2
97-
openpyxl==3.1.5
98-
overrides==7.7.0
99-
packaging==24.2
100-
pandas==2.2.3
101-
pandas[parquet]==2.2.3
102-
pandocfilters==1.5.1
103-
panel==0.14.4
104-
param==2.2.0
105-
parso==0.8.4
106-
pexpect==4.9.0
107-
pillow==10.4.0
108-
platformdirs==4.3.6
109-
plotly==5.15.0
110-
prometheus-client==0.21.1
111-
prompt-toolkit==3.0.48
112-
propcache==0.2.1
113-
protobuf==5.29.1
114-
psutil==6.1.0
115-
ptyprocess==0.7.0
116-
pure-eval==0.2.3
117-
pyarrow==18.1.0
118-
pycparser==2.22
119-
pyct==0.5.0
120-
pydeck==0.9.1
121-
pygments==2.18.0
122-
pyparsing==3.2.0
123-
python-dateutil==2.9.0.post0
124-
python-json-logger==3.2.1
125-
pytz==2024.2
126-
pyvis==0.3.2
127-
pyviz-comms==3.0.3
128-
pyyaml==6.0.2
129-
pyzmq==26.2.0
130-
quarto-cli==1.6.37
131-
referencing==0.35.1
132-
requests==2.32.3
133-
rfc3339-validator==0.1.4
134-
rfc3986-validator==0.1.1
135-
rich==13.9.4
136-
rpds-py==0.22.3
137-
send2trash==1.8.3
138-
setuptools==75.6.0
139-
six==1.17.0
140-
smmap==5.0.1
141-
sniffio==1.3.1
142-
soupsieve==2.6
143-
stack-data==0.6.3
144-
streamlit==1.39.0
145-
strenum==0.4.15
146-
tenacity==9.0.0
147-
terminado==0.18.1
148-
tinycss2==1.4.0
149-
toml==0.10.2
150-
tomli==2.2.1
151-
tornado==6.4.2
152-
tqdm==4.67.1
153-
traitlets==5.14.3
154-
types-python-dateutil==2.9.0.20241206
155-
typing-extensions==4.12.2
156-
tzdata==2024.2
157-
uri-template==1.3.0
158-
urllib3==2.2.3
159-
vl-convert-python==1.7.0
160-
watchdog==3.0.0
161-
wcwidth==0.2.13
162-
webcolors==24.11.1
163-
webencodings==0.5.1
164-
websocket-client==1.8.0
165-
wheel==0.45.1
166-
widgetsnbextension==4.0.13
167-
xlrd==2.0.1
168-
yarl==1.18.3
169-
zipp==3.21.0
1+
vuegen

0 commit comments

Comments
 (0)