diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f536290bd6c59cdef25ed306460b9df452cefcb..a84efa45fb2de60f8fde4d9f02709cdcca525b09 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