Keep Streamlit Awake #14
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: Keep Streamlit Awake | |
| on: | |
| schedule: | |
| - cron: "0 */10 * * *" # Runs every 10 hours | |
| workflow_dispatch: # Allows you to run it manually to test | |
| jobs: | |
| keep_awake: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| - name: Push Empty Commit | |
| run: | | |
| git config --global user.name "github-actions[bot]" | |
| git config --global user.email "github-actions[bot]@://github.com" | |
| git commit --allow-empty -m "Keep awake" | |
| git push |