diff --git a/.drone.yml b/.drone.yml index 2652313..cfedffd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,11 @@ steps: SSH_PUB: from_secret: ssh-pub commands: - - cd "GCryptLib/doxygen" + # - cd "GCryptLib/doxygen" + - apt-get update + - apt-get install ssh-agent - eval "$(ssh-agent -s)" - - echo $SSH_PUB > foo.txt - - cat "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICK59J6gWwGGKN+xRye0qpIPDuZwj+Ja1TjrGUwMMlfe" + - mkdir -p ~/.ssh + - echo $SSH_PRIV > ~/.ssh/id_ed25519 + - echo $SSH_PUB > ~/.ssh/id_ed25519.pub + - ssh-add ~/.ssh/id_ed25519