Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmliu committed Jul 28, 2024
1 parent 67f9d85 commit 95dabfa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/check_cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@ jobs:
- name: Get ACCOUNTS_JSON
id: get-accounts
run: |
if [ -n "${{ secrets.ACCOUNTS_JSON }}" ]; then
echo "${{ secrets.ACCOUNTS_JSON }}" > accounts.json
elif [ -n "${{ vars.ACCOUNTS_JSON }}" ]; then
echo "${{ vars.ACCOUNTS_JSON }}" > accounts.json
else
echo "No ACCOUNTS_JSON provided" && exit 1
fi
shell: bash
echo "$ACCOUNTS_JSON" > accounts.json
env:
ACCOUNTS_JSON: ${{ secrets.ACCOUNTS_JSON }}
# 从 GitHub Secrets 获取 ACCOUNTS_JSON 变量,并保存到文件 accounts.json

- name: Read and parse ACCOUNTS_JSON
id: parse-accounts
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# socks5-for-serv00
Installation scripts for Socks5 on Serv00

## 一键脚本
```bash
bash <(curl -s https://raw.githubusercontent.com/cmliu/socks5-for-serv00/main/install-socks5.sh)
```

## Github Actions保活
添加`secrets.ACCOUNTS_JSON`变量
```
[
{"username": "cmliusss", "password": "7HEt(xeRxttdvgB^nCU6", "panel": "panel4.serv00.com", "ssh": "s4.serv00.com"},
{"username": "cmliussss2018", "password": "4))@cRP%HtN8AryHlh^#", "panel": "panel7.serv00.com", "ssh": "s7.serv00.com"},
{"username": "4r885wvl", "password": "%Mg^dDMo6yIY$dZmxWNy", "panel": "panel.ct8.pl", "ssh": "s1.ct8.pl"}
]
```

# 致谢
[RealNeoMan](https://github.com/Neomanbeta/ct8socks)[k0baya](https://github.com/k0baya)

0 comments on commit 95dabfa

Please sign in to comment.