From 05ad7e4591164d6dd9160f59156eddfec613e537 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 28 May 2019 20:32:45 -0300 Subject: Configure git for vps-state repo in ./scripts/ci/setup.sh --- scripts/ci/setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/ci/setup.sh') diff --git a/scripts/ci/setup.sh b/scripts/ci/setup.sh index de8a165..ee5ecf2 100755 --- a/scripts/ci/setup.sh +++ b/scripts/ci/setup.sh @@ -5,11 +5,15 @@ set -Eeuo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" cd ../../ -echo "Unlocking git-crypt repos..." +echo "Unlocking git-crypt repos and configuring git..." +git config --global user.email "ci@euandre.org" +git config --global user.name "sr.ht CI" + git crypt unlock # Assumes vps-state was already cloned pushd ../vps-state/ git crypt unlock +git remote set-url origin git@git.sr.ht:~euandreh/vps-state popd echo "Done." -- cgit v1.2.3