This commit is contained in:
parent
f8413e4bf2
commit
df3292f49d
|
@ -46,6 +46,7 @@ pipeline:
|
||||||
image: deblan/php:8.1
|
image: deblan/php:8.1
|
||||||
secrets: [ssh_user, ssh_host, ssh_priv_key, app_directory]
|
secrets: [ssh_user, ssh_host, ssh_priv_key, app_directory]
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update && apt-get -y install rsync openssh-client
|
||||||
- mkdir "$HOME/.ssh"
|
- mkdir "$HOME/.ssh"
|
||||||
- echo "$SSH_PRIV_KEY" > "$HOME/.ssh/id_ed25519"
|
- echo "$SSH_PRIV_KEY" > "$HOME/.ssh/id_ed25519"
|
||||||
- chmod 700 "$HOME/.ssh"
|
- chmod 700 "$HOME/.ssh"
|
||||||
|
|
Loading…
Reference in a new issue