Skip to content

Commit

Permalink
Update get_chn_ip.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mayaxcn authored Aug 9, 2023
1 parent 9daf088 commit 368cec9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/get_chn_ip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,17 @@ jobs:
pwd
git rm chn_ip.txt
git rm chnroute.txt
git rm chn_ip_v6.txt
git rm chnroute_v6.txt
git commit -m "删除旧有IP文件!"
cp /home/runner/work/china-ip-list/china-ip-list/bin/Debug/netcoreapp3.1/chn_ip.txt /home/runner/work/china-ip-list/china-ip-list/chn_ip.txt
cp /home/runner/work/china-ip-list/china-ip-list/bin/Debug/netcoreapp3.1/chnroute.txt /home/runner/work/china-ip-list/china-ip-list/chnroute.txt
cp /home/runner/work/china-ip-list/china-ip-list/bin/Debug/netcoreapp3.1/chn_ip_v6.txt /home/runner/work/china-ip-list/china-ip-list/chn_ip_v6.txt
cp /home/runner/work/china-ip-list/china-ip-list/bin/Debug/netcoreapp3.1/chnroute_v6.txt /home/runner/work/china-ip-list/china-ip-list/chnroute_v6.txt
git add chn_ip.txt
git add chnroute.txt
git add chn_ip_v6.txt
git add chnroute_v6.txt
git commit -m "提交新的chn_ip.txt和chnroute.txt文件,更新于$(date "+%Y-%m-%d %H:%M:%S")"
# 更新至远程github代码仓库中
Expand Down

0 comments on commit 368cec9

Please sign in to comment.