Keep Streamlit App Alive #79
This file contains 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: Keep Streamlit App Alive | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run every 6 days | |
- cron: '0 0 */6 * *' | |
jobs: | |
wake-up-streamlit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: streamlit | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Make a trivial change to keep app alive | |
run: echo "" >> "app/0_💾_⠀Upload_Data.py" | |
- name: Commit and push changes | |
uses: EndBug/add-and-commit@v9 |