diff --git a/.drone.yml b/.drone.yml index 83ec752..b408717 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,11 +53,11 @@ steps: SSH_KEY: from_secret: ssh_key commands: - - mkdir .ssh + - mkdir $HOME/.ssh - echo "$SSH_KEY" > $HOME/.ssh/id_ed25519 - - touch .ssh/known_hosts + - touch $HOME/.ssh/known_hosts - chmod 600 $HOME/.ssh/known_hosts - - ssh-keyscan -H giteajim@git.2martens.de > ~/.ssh/known_hosts 2> /dev/null + - ssh-keyscan -H giteajim@git.2martens.de > $HOME/.ssh/known_hosts 2> /dev/null - git clone ssh://giteajim@git.2martens.de:22/2martens/wahlrecht.git . - git checkout $DRONE_COMMIT - name: build Docker container