[wip] deploy task
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2023-09-13 21:18:22 +02:00
parent dbbe5d1db5
commit b60a1acd57
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -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"