ACTIONS配置文件修正
This commit is contained in:
		@@ -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 }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user