Scheduled Cloudflare Rebuild Trigger #1
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
| # .github/workflows/rebuild.yml | |
| name: Daily Rebuild | |
| on: | |
| schedule: | |
| # Runs every day at midnight (00:00 UTC) | |
| - cron: '0 0 * * *' | |
| # This allows you to manually run the workflow from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger Cloudflare Pages Build Hook | |
| run: | | |
| # The URL is now securely retrieved from your GitHub Secrets | |
| curl -X POST "${{ secrets.CLOUDFLARE_BUILD_HOOK }}" |