From 92315d4866d065b536fd51ffce1ef8331403360b Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 2 Feb 2020 20:52:56 +0100 Subject: [PATCH] Fix deploy remote URL --- scripts/ci-update-readme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci-update-readme b/scripts/ci-update-readme index 31f2744..ca1d063 100755 --- a/scripts/ci-update-readme +++ b/scripts/ci-update-readme @@ -56,7 +56,7 @@ eval "$(ssh-agent)" printf '%s' "$DEPLOY_KEY" | tr -d '\r' | ssh-add - >/dev/null printf 'Adding %s remote\n' "$GITHUB_REPOSITORY" -git remote add deploy "git@github.com/$GITHUB_REPOSITORY.git" +git remote add deploy "git@github.com:$GITHUB_REPOSITORY.git" echo 'Committing changes to README.md' git config user.name "$UPDATE_README_COMMIT_AUTHOR_NAME" @@ -65,6 +65,6 @@ git add README.md git commit -m "$UPDATE_README_COMMIT_MESSAGE" printf 'Pushing to %s\n' "$GITHUB_REPOSITORY" -git push deploy "$UPDATE_BRANCH" +git push deploy "$UPDATE_BRANCH:$UPDATE_BRANCH" echo 'Done.'