Update main.yml

This commit is contained in:
y377 2023-08-05 11:59:46 +08:00 committed by GitHub
parent 29461616c4
commit c3f4c1014c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,7 @@ jobs:
run: pip install -r requirements.txt
- name: 签到
run: |
(echo "{{ page.date }} [![签到状态](https://github.com/y377/189pan/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/y377/189pan/actions/workflows/main.yml)" && python3 ./main.py) | tee >(sed 's/^/- /' > index.md)
env:
(echo "---\nlayout: default\ntitle: 签到状态\n---\n\n[![签到状态](https://github.com/y377/189pan/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/y377/189pan/actions/workflows/main.yml)\n\n{{ page.date }}\n\n- " && python3 ./main.py) | tee >(sed 's/^/- /' > index.md) env:
TYYP_USERNAME: ${{ secrets.TYYP_USERNAME }}
TYYP_PSW: ${{ secrets.TYYP_PSW }}
- name: Git Auto Commit