diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cc536cdeb4fe839675773c9f33f1e762a3ea2c07..1c63888c015a9ca7d4b24cf94af2d164b0e5e90f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -90,10 +90,13 @@ system-tests: # Make up a safe-ish place on the filesystem to write the key. KEY_PATH="$(mktemp -d)/deploy_key" - # The environment variable holding the key is configured with GitLab - # using Terraform so we can retain some bare minimum level of - # confidentiality. - base64 --decode "${PRIVATESTORAGEIO_STAGING_SSH_DEPLOY_KEY}" > "${KEY_PATH}" + # The environment variable holding the path to the key is configured + # with GitLab using Terraform so we can retain some bare minimum level + # of confidentiality. + # + # It contains the *path to the key*. It does not contain the key + # itself. + base64 --decode "${PRIVATESTORAGEIO_SSH_DEPLOY_KEY_PATH}" > "${KEY_PATH}" # Update the deployment - |