2026-07-19_17:47:27 Added files from Kaggle notebook, DC_2026-07-19_1… #2301
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Streamlit App | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| # - name: Super-Linter | |
| # uses: github/super-linter@v7 | |
| # env: | |
| # DEFAULT_BRANCH: main | |
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: pip install -r Streamlit/requirements.txt | |
| - name: Clear Streamlit Cache | |
| run: streamlit cache clear || true | |
| - name: Restart Streamlit App | |
| run: | | |
| pkill -f Streamlit.py || true | |
| nohup streamlit run Streamlit/Streamlit.py & | |
| - name: Sleep to Allow App Start | |
| run: sleep 10 # Wait 10 seconds for the app to restart |