Skip to content

Baidu Tieba Auto Sign #117

Baidu Tieba Auto Sign

Baidu Tieba Auto Sign #117

Workflow file for this run

name: 'Baidu Tieba Auto Sign'
on:
schedule:
- cron: '13 17,23 * * *'
workflow_dispatch:
jobs:
tieba_sign:
runs-on: ubuntu-latest
steps:
- name: 'Checkout codes'
uses: actions/checkout@v3
- name: 'Set python'
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: 'Install dependencies'
run: python -m pip install --upgrade requests
- name: Add Mask
run: echo "::add-mask::${{ secrets.MY_SECRET_TIEBA }}"
- name: 'Start Sign'
env:
BDUSS: ${{ secrets.BDUSS }}
HOST: ${{ secrets.HOST }}
FROM: ${{ secrets.FROM }}
TO: ${{ secrets.TO }}
AUTH: ${{ secrets.AUTH }}
run: python main.py