Scheduled Revalidation #1224
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: Scheduled Revalidation | |
| on: | |
| schedule: | |
| - cron: '*/55 * * * *' # Runs every hour | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger on demand revalidation site wide | |
| run: curl -X POST -d '{}' "https://carletonblueprint.org/api/revalidate" | |
| - name: Visit the site | |
| run: curl -X GET "https://carletonblueprint.org" |