From 62dba9d43a45cab78d18322961bc9c5c496646f3 Mon Sep 17 00:00:00 2001 From: Crystal Date: Fri, 19 Apr 2024 19:30:22 +0100 Subject: drone.yml update N⁰2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml index 5dde049..5299bf2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,9 @@ steps: - name: ssh_execute image: alpine:latest # Lightweight base image (adjust if needed) # Fetch the private key securely from Drone secrets + environment: + KEY_DATA: + from_secret: SSH_KEY_SECRET commands: - KEY_DATA=$(drone secret get SSH_KEY_SECRET) # Ensure key data is not accidentally logged -- cgit 1.4.1-2-gfad0