Keep App Alive #2813
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 App Alive | |
| on: | |
| schedule: | |
| # Run every 15 minutes to keep the app active | |
| - cron: "*/15 * * * *" | |
| workflow_dispatch: | |
| jobs: | |
| wake_up: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install playwright | |
| playwright install chromium | |
| - name: Run Wake Up Script | |
| run: python .github/scripts/wake_up_app.py |