Fix deploy remote URL
parent
472ae2e424
commit
92315d4866
|
@ -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.'
|
||||
|
|
Loading…
Reference in New Issue