Delete pure_domain.yml

This commit is contained in:
WuTofu 2022-08-31 22:22:49 +08:00 committed by GitHub
parent f1f63e5cc5
commit 0909f83d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,44 +0,0 @@
name: PureDomain
on:
workflow_dispatch:
push:
paths:
- "hosts.txt"
- "AutoBuild/pure_domain.py"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Wait for auto new version finished
uses: lewagon/wait-on-check-action@v1.0.0
with:
ref: ${{ github.ref }}
running-workflow-name: "Auto Update Version"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
allowed-conclusions: success,skipped,cancelled
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Run AutoBuild
run: |
git pull
cd AutoBuild
python pure_domain.py
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add domains.txt
git commit -m "🤖 自動更新 domains.txt"
- name: Push changes
uses: ad-m/github-push-action@master