Skip to content

Daily Night push

Daily Night push #1128

Workflow file for this run

name: Daily Night push
on:
push:
schedule:
- cron: '00 14 * * *'
jobs:
build:
runs-on: ubuntu-latest
env:
TOKEN: ${{ secrets.TOKEN }}
CHAT_ID: ${{ secrets.CHAT_ID }}
YAMIBO_COOKIES: ${{ secrets.YAMIBO_COOKIES }}
steps:
- uses: actions/checkout@v2
- name: Set timezone
run: sudo timedatectl set-timezone 'Asia/Shanghai'
- name: Echo current time
run: timedatectl
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: 'x64'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Daily Night push
run: |
python ./cmd.py --daily_night