commit 2baefa2d59fffe00cedb60acba8f86029e4bc333 Author: GamerNoTitle Date: Sat Nov 7 19:26:17 2020 +0800 init diff --git a/.github/workflows/AutoSignin.yml b/.github/workflows/AutoSignin.yml new file mode 100644 index 0000000..cdfb419 --- /dev/null +++ b/.github/workflows/AutoSignin.yml @@ -0,0 +1,32 @@ +name: AutoSignin + +on: + release: + types: [published] + push: + tags: + - 'v*' + # branches: + # - master + schedule: + - cron: "0 4,16 * * *" + watch: + types: [started] + +jobs: + build: + runs-on: ubuntu-latest + if: github.event.repository.owner.id == github.event.sender.id # 自己点的 start + steps: + - name: Checkout + uses: actions/checkout@master + - name: Set up Python #安装python + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install requests #安装requests + run: | + pip install -r requirements.txt + - name: Run script + run: | + python3 main.py ${{ secrets.cookie }} diff --git a/main.py b/main.py new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..663bd1f --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +requests \ No newline at end of file