This commit is contained in:
@@ -14,10 +14,11 @@ clone:
|
||||
steps:
|
||||
- name: clone-repo
|
||||
image: alpine/git
|
||||
environment:
|
||||
# Use the mounted SSH key
|
||||
GIT_SSH_COMMAND: "ssh -i /drone-ssh/id_ed25519 -o StrictHostKeyChecking=accept-new"
|
||||
# environment:
|
||||
# # Use the mounted SSH key
|
||||
# GIT_SSH_COMMAND: "ssh -i /drone-ssh/id_ed25519 -o StrictHostKeyChecking=accept-new"
|
||||
commands:
|
||||
- ls /
|
||||
- echo "Cloning repository via SSH..."
|
||||
- git clone git@gitea.aetoskia.com:apps/cicd.git
|
||||
|
||||
|
||||
Reference in New Issue
Block a user