Simplify CI config by using ssh deploy keys
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
0391609c77
commit
0bacbf7241
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue