diff --git a/.github/workflows/keep_awake.yml b/.github/workflows/keep_awake.yml new file mode 100644 index 0000000..b9787ad --- /dev/null +++ b/.github/workflows/keep_awake.yml @@ -0,0 +1,21 @@ +name: Keep App Awake + +on: + schedule: + - cron: '0 0 * * *' # Runs once a day at midnight UTC + +jobs: + keep_awake: + runs-on: ubuntu-latest + steps: + - name: Send a request with Python + run: | + python -c " + import requests + url = 'https://divvyup.streamlit.app/' + try: + response = requests.get(url) + print('Status:', response.status_code) + except Exception as e: + print('Error:', e) + "