diff --git a/.github/workflows/pure_domain.yml b/.github/workflows/pure_domain.yml deleted file mode 100644 index 0e6bdda..0000000 --- a/.github/workflows/pure_domain.yml +++ /dev/null @@ -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