From 1000fe315a33cd7b526bfc301b5073bb40bf663c Mon Sep 17 00:00:00 2001 From: snakem982 Date: Sat, 26 Oct 2024 09:03:25 +0800 Subject: [PATCH] update workflow --- .github/workflows/updateclash.yaml | 8 +- README.md | 2 +- source/clash-meta-1.yaml | 9528 ---------------------------- 3 files changed, 2 insertions(+), 9536 deletions(-) delete mode 100644 source/clash-meta-1.yaml diff --git a/.github/workflows/updateclash.yaml b/.github/workflows/updateclash.yaml index 8608cb3..8738a57 100644 --- a/.github/workflows/updateclash.yaml +++ b/.github/workflows/updateclash.yaml @@ -22,19 +22,13 @@ jobs: persist-credentials: false fetch-depth: 0 - - name: Update Clash 0 + - name: Update Clash 1 run: | curl -L ${{ secrets.V2RAY_API }} > source/v2ray.txt curl -L ${{ secrets.CLASH_API }} > source/clash-meta.yaml rand=_$(date +%s%N | md5sum |cut -c 2-6)_ sed -i "s/${{ secrets.CLASH_REPLACE }}/$rand/g" source/clash-meta.yaml - - name: Update Clash 1 - run: | - curl -L ${{ secrets.CLASH_API_1 }} > source/clash-meta-1.yaml - rand=www.$(date +%s%N | md5sum |cut -c 3-7).com - sed -i "s/${{ secrets.CLASH_REPLACE_1 }}/$rand/g" source/clash-meta-1.yaml - - name: Update Clash 2 run: | curl ${{ secrets.CLASH_API_2 }} > source/clash-meta-2.yaml diff --git a/README.md b/README.md index 944ad96..b1436c9 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ The following is a self-built node cost-effective cloud server recommendation: