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: