-
Notifications
You must be signed in to change notification settings - Fork 26
33 lines (28 loc) · 933 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: main
on:
workflow_dispatch:
schedule:
- cron: "20 1,6 * * *"
watch:
types: [started]
jobs:
build:
runs-on: windows-latest
if: github.event.repository.owner.id == github.event.sender.id || ! github.event.sender.id
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: "安装依赖包"
run: |
pip install -r ./requirements.txt
- name: "运行 文叔叔签到"
run: python Sign_WenShuShu_selenium.py
env:
USER: ${{ secrets.USER }}
PASSWORD: ${{ secrets.PASSWORD }}
PUSH_MESSAGE: ${{ secrets.PUSH_MESSAGE }}
SHOW_USER: ${{ secrets.SHOW_USER }}