Schedule build #154
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: Schedule build | ||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
jobs: | ||
build: | ||
name: Call build hook | ||
runs-on: ubuntu-latest | ||
# prevent from running on forks | ||
if: github.repository == "sreetamdas/sreetamdas.com" | ||
Check failure on line 11 in .github/workflows/schedule_build.yml GitHub Actions / Schedule buildInvalid workflow file
|
||
steps: | ||
- name: Curl request | ||
env: | ||
VERCEL_BUILD_WEBHOOK_URL: ${{ secrets.VERCEL_BUILD_WEBHOOK_URL }} | ||
run: curl -X POST $VERCEL_BUILD_WEBHOOK_URL |