drone.yml update N⁰2
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Crystal 2024-04-19 19:30:22 +01:00
parent a183a1df21
commit 62dba9d43a
1 changed files with 3 additions and 0 deletions

View File

@ -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