diff --git a/encrypt.py b/encrypt.py index b593b7b..3bb4ed8 100644 --- a/encrypt.py +++ b/encrypt.py @@ -30,8 +30,6 @@ BLACKLIST = [ # Env vars to handle creds enc_path = os.environ.get("ENCRYPTED_PATH") enc_repo = os.environ.get("ENCRYPTED_REPO") -enc_repo_user = os.environ.get("ENCRYPTED_REPO_USERNAME") -enc_repo_pass = os.environ.get("ENCRYPTED_REPO_PASSWORD") enc_key = os.environ.get("ENCRYPTION_KEY") # Create our encrypted directory base @@ -45,7 +43,7 @@ os.chdir(enc_path) repo = Repo.init(enc_path) repo.create_remote( "origin", - f"https://{enc_repo_user}:{enc_repo_pass}@github.com/{enc_repo}.git", + f"git@github.com:{enc_repo}.git", ) # Glob the file list of "." starting files and non "." starting files