Skip to content

Daily Subscriber Count Update #1628

Daily Subscriber Count Update

Daily Subscriber Count Update #1628

Workflow file for this run

name: Daily Subscriber Count Update
on:
schedule:
# Every day at 12:00 Eastern Time
- cron: "0 16 * * *"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install python dependencies
run: pip install poetry==1.4.2
- name: Poetry get deps
run: poetry install
- name: Do the subscriber count update
shell: bash
env:
YT_API_KEY: ${{ secrets.YT_API_KEY }}
run: poetry run python -m hodllive "$YT_API_KEY"
- name: Commit & push
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Hallo-bo! Daily subscriber update-dayo!
commit_user_name: Roboco-san
commit_user_email: high-spec@github.com
commit_author: Roboco-san <high-spec@github.com>