Update #1772
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: Update | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '15 17 * * *' | |
| timezone: 'Europe/Paris' | |
| - cron: '35 18-23 * * 3' | |
| timezone: 'Europe/Paris' | |
| - cron: '35 0-16 * * 4' | |
| timezone: 'Europe/Paris' | |
| - cron: '40 0-16,18-23 11-31 12 *' | |
| timezone: 'Europe/Paris' | |
| - cron: '40 0-16,18-23 1-6 1 *' | |
| timezone: 'Europe/Paris' | |
| jobs: | |
| scheduled: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: "data" | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| - name: Git Config | |
| run: | | |
| git config user.name woctezuma && git config user.email woctezuma@users.noreply.github.com | |
| - name: Run Updater | |
| run: | | |
| ./update.sh | |
| env: | |
| DISCORD_MOBILE: ${{ secrets.DISCORD_MOBILE }} |