From f66139393305339e717f50932bc10a68cc455d75 Mon Sep 17 00:00:00 2001 From: fangvv Date: Mon, 11 Dec 2023 16:14:53 +0800 Subject: [PATCH] fix actions --- .github/workflows/download-proxies.yml | 34 -------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/download-proxies.yml diff --git a/.github/workflows/download-proxies.yml b/.github/workflows/download-proxies.yml deleted file mode 100644 index 5ecb9ff..0000000 --- a/.github/workflows/download-proxies.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Download wanshanziwo -on: - workflow_dispatch: - push: - branches: - - master - schedule: - - cron: '0 * * * *' -jobs: - download: - runs-on: ubuntu-latest - steps: - - name: Clone proxypool - uses: actions/checkout@v2 - with: - repository: snakem982/proxypool - ref: main - - name: Find v2ray proxies - run: | - echo "Downloading v2ray proxies..." - for file in `find . -name "v2ray*.txt"`; do - echo "Downloading $file..." - curl -o "$file" https://raw.githubusercontent.com/snakem982/proxypool/main/$file - mv "$file" fww.txt - done - - name: Save proxies to my repository - run: | - echo "Saving proxies to my repository..." - git config --global user.email "fangvv@gmail.com" - git config --global user.name "fangvv" - git add *.txt - git commit -m "Add v2ray proxies" - git remote set-url origin https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }} - git push