Skip to content

Schedule build

Schedule build #154

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

View workflow run for this annotation

GitHub Actions / Schedule build

Invalid workflow file

The workflow is not valid. .github/workflows/schedule_build.yml (Line: 11, Col: 9): Unexpected symbol: '"sreetamdas/sreetamdas'. Located at position 22 within expression: github.repository == "sreetamdas/sreetamdas.com"
steps:
- name: Curl request
env:
VERCEL_BUILD_WEBHOOK_URL: ${{ secrets.VERCEL_BUILD_WEBHOOK_URL }}
run: curl -X POST $VERCEL_BUILD_WEBHOOK_URL