Skip to content

πŸ†• Update

πŸ†• Update #858

Workflow file for this run

name: πŸ†• Update
on:
schedule:
- cron: "15 0 * * *"
workflow_dispatch:
permissions:
actions: write
contents: read
jobs:
update-episodes:
name: ⬣ Update Episodes
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: βŽ” Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: πŸ“₯ Download deps
run: npm ci
- name: ✨ Update Episodes
run: npm run update:episodes
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
update-info:
name: ⬣ Update Episode Info
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: βŽ” Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: πŸ“₯ Download deps
run: npm ci
- name: ✨ Update Episode Info
run: npm run update:episodes:info
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}