π Update #862
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |