Skip to content

Commit

Permalink
Fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
2martens committed Aug 14, 2023
1 parent ebc5a12 commit e7bfd4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] > ~/.ssh/known_hosts 2> /dev/null
- ssh-keyscan -H [email protected] > $HOME/.ssh/known_hosts 2> /dev/null
- git clone ssh://[email protected]:22/2martens/wahlrecht.git .
- git checkout $DRONE_COMMIT
- name: build Docker container
Expand Down

0 comments on commit e7bfd4f

Please sign in to comment.