From 08c782055aa2b5c1757e88f27cf4bce9c303f1f0 Mon Sep 17 00:00:00 2001 From: Michael Staff Larsen <michaesl@stud.ntnu.no> Date: Mon, 20 Apr 2020 13:26:10 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f53629..a84efa4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,7 +35,7 @@ deploy: - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - apt-get update - apt-get install --assume-yes rsync - - rsync --archive --delete --exclude='.git' --exclude='node_modules' . app@ec2-54-237-117-36.compute-1.amazonaws.com:app - - ssh app@ec2-54-237-117-36.compute-1.amazonaws.com systemctl --user restart app + - rsync --archive --delete --exclude='.git' --exclude='node_modules' . app@ec2-18-234-240-168.compute-1.amazonaws.com:app + - ssh app@ec2-18-234-240-168.compute-1.amazonaws.com systemctl --user restart app only: - master \ No newline at end of file -- GitLab