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