summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCrystal <crystal@wizard.tower>2024-04-19 19:30:22 +0100
committerCrystal <crystal@wizard.tower>2024-04-19 19:30:22 +0100
commit62dba9d43a45cab78d18322961bc9c5c496646f3 (patch)
treef7ca5fc7b6b00805d9627ba4293a92bfc7fb588a
parenta183a1df21b9ae17ac4b143d98c7d31043ca4059 (diff)
downloadwww-62dba9d43a45cab78d18322961bc9c5c496646f3.tar.gz
drone.yml update N⁰2
-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