Skip to content

update

update #538

Workflow file for this run

name: update
on:
workflow_dispatch:
schedule:
- cron: '0 20 * * *'
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: pip
- name: Install Dependencies
run: |
cd updater
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Update
run: |
cd updater
python main.py
env:
X_UPLOAD_KEY: ${{ secrets.X_UPLOAD_KEY }}
- name: Commit Changes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: '[Actions] Updated video list.'