mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
Delete pure_domain.yml
This commit is contained in:
parent
f1f63e5cc5
commit
0909f83d81
44
.github/workflows/pure_domain.yml
vendored
44
.github/workflows/pure_domain.yml
vendored
@ -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
|
Loading…
x
Reference in New Issue
Block a user