Skip to main content
scripts/sync_dashboard_app.sh · chapter Tests and team tooling, file 25 · 74 lines · open in the repository

What it does

Push the hosted dashboard’s files to the repository Streamlit Community Cloud deploys from (decision 0013). The hosted app is src/dashboard/app.py itself, with only the code it imports, the config/ lists and the recorded snapshot; nothing with prices. The address comes from: git config calendar-effects.dashboardRemote, which scripts/install_git_hooks.sh sets to the team’s dashboard repository (github.com/Calendar-Effects/dashboard) and runs this after each commit: scripts/sync_dashboard_app.sh Without the setting it does nothing. An https address signs in with the GitHub CLI.

Source

scripts/sync_dashboard_app.sh