new drone file
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
f95a4bd099
commit
661e414ab6
|
@ -0,0 +1,12 @@
|
|||
pipeline:
|
||||
production:
|
||||
image: alpine:3.7
|
||||
secrets: [ ssh_private_key, ssh_host_key ]
|
||||
commands:
|
||||
- mkdir "$${HOME}/.ssh"
|
||||
- echo -n "$${SSH_PRIVATE_KEY}" > "$${HOME}/.ssh/id_rsa"
|
||||
- chmod 700 "$${HOME}/.ssh/id_rsa"
|
||||
- echo "$${SSH_HOST_KEY}" > "$${HOME}/.ssh/known_hosts"
|
||||
- ls -lR /root
|
||||
|
||||
branches: master
|
Loading…
Reference in New Issue