mirror of
https://github.com/iBug/pac.git
synced 2025-09-14 13:56:51 +08:00
feat: auto README content when fork it
This commit is contained in:
parent
2542408430
commit
9b08216c1c
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -34,6 +34,7 @@ jobs:
|
||||
- name: Push dist files
|
||||
run: |
|
||||
set -x
|
||||
sed -i 's/{REPO}/${{ github.repository }}/' README.md # 当别人fork后,README 信息自动变更到他自己的仓库
|
||||
sed -i '/TIME/d' dist/*.txt # 剔除日期变更,忽略仅仅因为日期变更而出现的提交
|
||||
git add -f -A dist/*.txt
|
||||
git commit -m "[$(LANG=C date)] auto update" || exit 0
|
||||
|
@ -1,5 +1,7 @@
|
||||
# pac
|
||||
|
||||

|
||||
|
||||
PAC scripts for proxies
|
||||
|
||||
## 特点
|
||||
@ -25,9 +27,9 @@ PAC scripts for proxies
|
||||
|
||||
在线使用。引用dist目录中的文件的raw链接。或者使用其镜像加速链接(推荐)。如:
|
||||
|
||||
Github Raw: https://raw.githubusercontent.com/{GITHUB_USERNAME}/pac/master/dist/pac-gfwlist-17mon.txt
|
||||
Github Raw: https://raw.githubusercontent.com/{REPO}/master/dist/pac-gfwlist-17mon.txt
|
||||
|
||||
FastGit: https://raw.fastgit.org/{GITHUB_USERNAME}/pac/master/dist/pac-gfwlist-17mon.txt
|
||||
FastGit: https://raw.fastgit.org/{REPO}/master/dist/pac-gfwlist-17mon.txt
|
||||
|
||||
### 方式三:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user