diff --git a/.scripts/push-to-roa.sh b/.scripts/push-to-roa.sh index 684112d..9d7581d 100755 --- a/.scripts/push-to-roa.sh +++ b/.scripts/push-to-roa.sh @@ -13,10 +13,11 @@ chmod 0600 "$HOME/.ssh/id_ed25519" set -x -pushd generated +cd generated || exit -1 + git remote set-url origin git@github.com:NeoCloud/NeoNetwork-ROA.git +git config user.name "NeoCloud ROA bot" +git config user.email "support@neocloud.tw" git add . -git config user.name "neonet roa bot" -git config user.email "bot@github.com" -git commit -m "Generated at $(TZ='UTC' date +%Y%m%d-%H%M%S.%N)" +git commit -m "Generated at $(date -u +"%Y-%m-%dT%H:%M:%SZ")" git push