When executing a build for git repository giantswarm/docs-content
in CircleCI, I\'d like to push a commit to another repository giantswarm/docs
.
I've used
git push -q https://${GITHUB_PERSONAL_TOKEN}@github.com//.git master
and it worked. Update it to be:
# Push changes
git config credential.helper 'cache --timeout=120'
git config user.email ""
git config user.name ""
git add .
git commit -m "Update via CircleCI"
# Push quietly to prevent showing the token in log
git push -q https://${GITHUB_PERSONAL_TOKEN}@github.com/giantswarm/docs.git master