[wip] deploy task
This commit is contained in:
parent
dbbe5d1db5
commit
b60a1acd57
|
@ -102,7 +102,7 @@ pipeline:
|
|||
secrets: [ssh_user, ssh_host, ssh_priv_key, app_directory]
|
||||
commands:
|
||||
- apt-get update && apt-get -y install rsync openssh-client
|
||||
- cd "/data/deblan/deblan.io-murph/$CI_WORKSPACE"
|
||||
- cd "/data/deblan/deblan.io-murph/$CI_COMMIT_SHA"
|
||||
- mkdir "$HOME/.ssh"
|
||||
- echo "$SSH_PRIV_KEY" > "$HOME/.ssh/id_ed25519"
|
||||
- chmod 700 "$HOME/.ssh"
|
||||
|
|
Loading…
Reference in a new issue