From 70b22d532841884dd2262c6aa798bf560ccc4980 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 1 Jul 2021 09:41:15 -0400
Subject: [PATCH] Read the deploy key from a file instead of the environment

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 48e6df1c..898dee93 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,7 +87,7 @@ deploy-to-staging:
     - |
       # The environment variable is configured with GitLab using Terraform so
       # we can retain some bare minimum level of confidentiality.
-      echo "${PRIVATESTORAGEIO_STAGING_SSH_DEPLOY_KEY}" > "${PWD}"/deploy_key
+      base64 --decode "${PRIVATESTORAGEIO_STAGING_SSH_DEPLOY_KEY}" > "${PWD}"/deploy_key
 
     # Update the deployment
     - |
-- 
GitLab