Rebuild site every hour #2828
This file contains 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: Rebuild site every hour | |
on: | |
schedule: | |
- cron: "0 * * * *" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger production rebuild on vercel | |
run: curl -X POST ${{ secrets.VERCEL_REBUILD_MASTER_HOOK }} | |
- name: Trigger staging rebuild on vercel | |
run: curl -X POST ${{ secrets.VERCEL_REBUILD_STAGING_MASTER_HOOK }} |