Baidu Tieba Auto Sign #425
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |