Fixed paths
continuous-integration/drone/push Build was killed

This commit is contained in:
2023-08-15 00:56:36 +02:00
parent ebc5a12385
commit e7bfd4fee1
+3 -3
View File
@@ -53,11 +53,11 @@ steps:
SSH_KEY: SSH_KEY:
from_secret: ssh_key from_secret: ssh_key
commands: commands:
- mkdir .ssh - mkdir $HOME/.ssh
- echo "$SSH_KEY" > $HOME/.ssh/id_ed25519 - echo "$SSH_KEY" > $HOME/.ssh/id_ed25519
- touch .ssh/known_hosts - touch $HOME/.ssh/known_hosts
- chmod 600 $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 clone ssh://giteajim@git.2martens.de:22/2martens/wahlrecht.git .
- git checkout $DRONE_COMMIT - git checkout $DRONE_COMMIT
- name: build Docker container - name: build Docker container