Skip to content

πŸ—‘οΈ Remove inexisting episode links #275

πŸ—‘οΈ Remove inexisting episode links

πŸ—‘οΈ Remove inexisting episode links #275

name: πŸ—‘οΈ Remove inexisting episode links
on:
schedule:
- cron: "15 2 * * *"
workflow_dispatch:
jobs:
delete:
name: πŸ—‘οΈ Delete inexisting episode links
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: πŸ“₯ Download deps
run: npm ci
- name: πŸ—‘οΈ Delete links if needed
run: npm run delete:episode-link
env:
NODE_ENV: production
DATABASE_URL: ${{ secrets.DATABASE_URL }}