From 3748995a95d0e5529c8a1f007e270073eb8eb7cc Mon Sep 17 00:00:00 2001 From: gaetan <gaetan.g237@gmail.com> Date: Wed, 26 Feb 2025 13:26:10 +0100 Subject: [PATCH] feat: test key --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d55b73b..cb94c4d 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,8 +30,8 @@ deploy:prod: - apk add --no-cache openssh-client rsync script: - eval $(ssh-agent -s) + - echo "$SSH_PRODUCTION_PRIVATE_KEY" | ssh-add - - mkdir -p ~/.ssh - ssh-keyscan -H webstatic-prod.prod.infra.atilla.org >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - - echo 'test' - rsync --checksum --recursive --delete --delete-during --itemize-changes --verbose output/ atilla@webstatic-prod.prod.infra.atilla.org:/srv/vhosts/atilla/website \ No newline at end of file -- GitLab