Skip to content

fix rwc

fix rwc #1360

name: Schedule build

Check failure on line 1 in .github/workflows/schedule_build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/schedule_build.yml

Invalid workflow file

(Line: 11, Col: 9): Unexpected symbol: '"sreetamdas/sreetamdas'. Located at position 22 within expression: github.repository == "sreetamdas/sreetamdas.com"
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"
steps:
- name: Curl request
env:
VERCEL_BUILD_WEBHOOK_URL: ${{ secrets.VERCEL_BUILD_WEBHOOK_URL }}
run: curl -X POST $VERCEL_BUILD_WEBHOOK_URL