Commit 4aea35c7 authored by Robin Fischer's avatar Robin Fischer

Modified git checkout using ssh

parent 679f73c4
......@@ -63,16 +63,17 @@ def gitPush():
print("Replaced for path: " + writeOriginUrl)
shell("git remote add tokenOrigin " + writeOriginUrl, targetDir)
shell("git remote add sshOrigin git@gitlab.com:robinryf/robinryf.gitlab.io.git", targetDir)
shell("git checkout master", targetDir)
shell("git add " + fileName, targetDir)
shell("git config user.email gitlab-runner@baron.com", targetDir)
shell("git config user.name baron", targetDir)
#shell("git config user.email gitlab-runner@baron.home", targetDir)
#shell("git config user.name baron", targetDir)
shell("git commit -m 'Add domain validation for " + domain + "'", targetDir)
shell("git push tokenOrigin", targetDir)
shell("git push sshOrigin", targetDir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment