Skip to content

pikpak_auto_invite

pikpak_auto_invite #9

Workflow file for this run

name: pikpak_auto_invite
on:
push:
branches: [ main ]
paths:
- '**'
- '!.gitignore'
- '!README.md'
schedule:
# 每天晚六点十分执行一次
- cron: '15 17 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set Time
run: sudo timedatectl set-timezone 'Asia/Shanghai'
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- run: pip install -r requirements.txt
- name: Run
env:
INVITE_CODE: ${{secrets.INVITE_CODE}}
run: python run.py