mirror of
https://github.com/gaoyifan/china-operator-ip.git
synced 2025-12-16 06:13:15 +08:00
fix CI commit with wrong author
This commit is contained in:
@@ -1,11 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
git config user.name $GIT_USER_NAME
|
|
||||||
git config user.email $GIT_USER_EMAIL
|
|
||||||
|
|
||||||
git clone -b ip-lists https://${GH_REF} ip-lists
|
git clone -b ip-lists https://${GH_REF} ip-lists
|
||||||
mv result/* ip-lists
|
mv result/* ip-lists
|
||||||
cd ip-lists
|
cd ip-lists
|
||||||
|
git config user.name $GIT_USER_NAME
|
||||||
|
git config user.email $GIT_USER_EMAIL
|
||||||
git add .
|
git add .
|
||||||
git commit -m "update $(date +%Y-%m-%d)"
|
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:ip-lists
|
||||||
|
|||||||
Reference in New Issue
Block a user