forked from gwtak/TieBaSign
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 863 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: 'Baidu Tieba Auto Sign'
on:
push:
branches:
- main
schedule:
- cron: '5 16 * * *'
jobs:
tieba_sign:
runs-on: ubuntu-latest
steps:
- name: 'Checkout codes'
uses: actions/checkout@v2
- name: 'Set python'
uses: actions/setup-python@v1
with:
python-version: '3.11'
- name: 'Install dependencies'
run: python -m pip install --upgrade requests
- name: 'Install dependencies'
run: python -m pip install --upgrade pypushdeer
- name: 'Start Sign'
env:
BDUSS: ${{ secrets.BDUSS }}
HOST: ${{ secrets.HOST }}
FROM: ${{ secrets.FROM }}
TO: ${{ secrets.TO }}
AUTH: ${{ secrets.AUTH }}
PUSH_HOST: ${{ secrets.PUSH_HOST }}
PUSH_KEY: ${{ secrets.PUSH_KEY }}
run: python main.py