update-index-cron #683
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: update-index-cron | |
on: | |
schedule: | |
# every 24 hours at 12am | |
- cron: '0 0 * * *' | |
jobs: | |
cron: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send POST Request | |
run: | | |
curl --request POST \ | |
--url 'https://maxleiter.com/api/revalidate \ | |
--header 'x-secret-key ${{ secrets.SECRET_KEY }}' |