From a02d36700fc5bf7309311db531e4ab6ff6a98858 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <andreas.k.svendsrud@ntnu.no> Date: Fri, 3 May 2024 18:59:29 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9007022..894f4e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -80,5 +80,5 @@ deploy_docker: - apt-get -yqq install ssh - apt-get install sshpass script: - - sshpass -p sParest1en ssh -v -o StrictHostKeyChecking=no root@128.199.53.153 "docker rm -f frontend || true; docker pull registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend && docker run -d -p 81:80 --name frontend registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend" + - sshpass -p $ssh_password ssh -v -o StrictHostKeyChecking=no $ssh_user@$ssh_ip "docker rm -f frontend || true; docker pull registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend && docker run -d -p 81:80 --name frontend registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend" when: manual \ No newline at end of file -- GitLab