Keep Streamlit Awake #93
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 | |
| jobs: | |
| auto_commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Create empty commit | |
| run: | | |
| git config --local user.email "[email protected]" | |
| git config --local user.name "GitHub Action" | |
| git commit --allow-empty -m "Keep-alive heartbeat" | |
| git push |