mirror of
https://github.com/gaoyifan/china-operator-ip.git
synced 2025-07-13 21:02:37 +08:00
13 lines
353 B
Bash
Executable File
13 lines
353 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
git clone -b ip-lists https://${GH_REF} ip-lists
|
|
mv result/* ip-lists
|
|
cd ip-lists
|
|
git config user.name $GIT_USER_NAME
|
|
git config user.email $GIT_USER_EMAIL
|
|
git add .
|
|
git commit -m "update $(date +%Y-%m-%d)"
|
|
git push -q "https://${GH_TOKEN}@${GH_REF}" ip-lists:ip-lists
|
|
git push -q "https://${GH_TOKEN}@${GH_REF}" ip-lists:gh-pages
|
|
|