Initial import: Music_Server, MusicFree, catalog-sync

This commit is contained in:
2026-05-23 16:51:14 +08:00
commit 069af30dba
847 changed files with 179878 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
name: keep-alive
# 触发条件
on:
workflow_dispatch:
schedule:
- cron: '0 0 */3 * *'
env:
TZ: Asia/Shanghai
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: 迁出代码
uses: actions/checkout@v2
- name: 安装Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: 加载缓存
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/run_in_Actions/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: 设置时区
run: sudo timedatectl set-timezone 'Asia/Shanghai'
- name: 安装依赖
run: |
pip install -r ./requirements.txt
- name: 执行任务
env:
render_url: ${{secrets.render_url}}
render_key: ${{secrets.render_key}}
header_key: ${{secrets.header_key}}
run: |
python ./main.py