Skip to content

Phantom Scheduler

Phantom Scheduler #87

Workflow file for this run

name: Phantom Scheduler
on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Execute crawl.sh
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
run: bash crawl.sh
- name: Call deploy hook
env:
DEPLOY_HOOK_URL: ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
run: curl $DEPLOY_HOOK_URL