Skip to content

Update Repositories #15237

Update Repositories

Update Repositories #15237

Workflow file for this run

name: Update Repositories
on:
schedule:
- cron: '0 * * * *' # Run every hour
workflow_dispatch:
jobs:
update_repos:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Call updateContent script
run: npm run updateContent
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
REPLICATE_API_TOKEN: ${{ secrets.REPLICATE_API_TOKEN }}