update workflow

main
snakem982 1 year ago
parent e36484b68d
commit ce1e91988e

@ -38,10 +38,8 @@ jobs:
- name: Update Clash 2 - name: Update Clash 2
run: | run: |
rand=$(curl ${{ secrets.CLASH_API_2 }} | grep -Eo "Clash: +.*" | sed 's/Clash: //') curl ${{ secrets.CLASH_API_2 }} > source/clash-meta-2.yaml
curl $rand > source/clash-meta-2.yaml curl ${{ secrets.V2RAY_API_2 }} > source/v2ray-2.txt
rand=$(curl ${{ secrets.CLASH_API_2 }} | grep -Eo "V2Ray: +.*" | sed 's/V2Ray: //')
curl $rand > source/v2ray-2.txt
- name: Commit files - name: Commit files
run: | run: |

Loading…
Cancel
Save