ACTIONS配置文件修正

This commit is contained in:
2024-08-19 14:00:28 +08:00
parent 02b89188e0
commit 3fb33ccf6b
6 changed files with 861 additions and 709 deletions

View File

@@ -20,10 +20,8 @@ jobs:
with:
python-version: '3.12.5'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# Add any other dependencies your script needs here
- name: Run single domain check
run: python single_domain_check.py
- name: Run domain check
run: python domain_check.py
@@ -32,10 +30,11 @@ jobs:
run: |
today=$(date +%Y-%m-%d)
mv domain.txt "domain_$today.txt"
mv domains.txt "domains_$today.txt"
- name: Create release and upload result
run: |
today=$(date +%Y-%m-%d)
gitea release create --title "Domain Check $today" --assets "domain_$today.txt"
gitea release create --title "Single Domain Check $today" --assets "domain_$today.txt" --assets "domains_$today.txt"
env:
TOKEN: ${{ secrets.TOKEN }}