diff options
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ac67175..e5d4d75a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -105,10 +105,10 @@ deploy: image: alpine:latest before_script: - apk add --no-cache openssh-client - - echo "$DJANGO_DEPLOY_SSH_PRIVATE_KEY" > privkey - - chmod 400 privkey + - echo "$DJANGO_DEPLOY_SSH_PRIVATE_KEY" > id_ed25519 + - chmod 400 id_ed25519 script: - - ssh -i privkey -p 583 -o "StrictHostKeyChecking=no" [email protected] + - ssh -i id_ed25519 -p 583 -o "StrictHostKeyChecking=no" [email protected] environment: name: Django staging url: https://pysite.jchri.st |