Repository navigation
Wake Streamlit App #29
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: Wake Streamlit App | |
| on: | |
| schedule: | |
| - cron: "0 */24 * * *" # every 4 hours | |
| workflow_dispatch: # allow manual trigger | |
| jobs: | |
| wake: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| pip install -r ./international_coal/app/requirements.txt | |
| - name: Run Selenium script | |
| run: python3 ./international_coal/wakeup.py |