summary refs log tree commit diff stats
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml3
1 files changed, 3 insertions, 0 deletions
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