Skip to content

Wake Up Streamlit Apps #205

Wake Up Streamlit Apps

Wake Up Streamlit Apps #205

Workflow file for this run

name: Wake Up Streamlit Apps
on:
schedule:
- cron: '0 8-20/2 * * *' # Runs every 2 hours from 8 AM to 8 PM
workflow_dispatch: # Allows manual triggering
jobs:
wake-up:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
run: |
pip install selenium
- name: Run Python script to wake up Streamlit apps
run: python wake_up_streamlit.py
- name: Upload log file as artifact
uses: actions/upload-artifact@v4
with:
name: wakeup-log
path: wakeup_log.txt