Skip to content

Commit

Permalink
ensure that offline deployment is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mdavid-m committed Nov 21, 2024
1 parent 19fd5ef commit 01fd515
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ jobs:
call myenv\Scripts\activate.bat
pyinstaller --onefile --additional-hooks-dir ./hooks run_app.py --clean
- name: Set to offline deployment
run: |
jq '.online_deployment = true' settings.json > tmp.json && mv tmp.json settings.json
- name: Copy everything to dist directory
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-windows-executable-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,11 @@ jobs:
run: |
echo '@echo off' > run_app.bat
echo '.\\python-${{ env.PYTHON_VERSION }}\\python -m streamlit run app.py local' >> run_app.bat
- name: Set to offline deployment
run: |
jq '.online_deployment = true' settings.json > tmp.json && mv tmp.json settings.json
- name: Create All-in-one executable folder
run: |
mkdir streamlit_exe
Expand Down

0 comments on commit 01fd515

Please sign in to comment.