update workflow

main
snakem982 1 year ago
parent 3d88b7f97c
commit 1000fe315a

@ -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

@ -59,7 +59,7 @@ The following is a self-built node cost-effective cloud server recommendation:<b
### clash.meta/mihomo 订阅地址
https://raw.githubusercontent.com/snakem982/proxypool/main/source/clash-meta.yaml
https://raw.githubusercontent.com/snakem982/proxypool/main/source/clash-meta-1.yaml
https://raw.githubusercontent.com/snakem982/proxypool/main/source/clash-meta-2.yaml
### v2ray 订阅地址

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save