Skip to content
Snippets Groups Projects
Commit 08c78205 authored by Michael Staff Larsen's avatar Michael Staff Larsen
Browse files

Update .gitlab-ci.yml

parent 8be37992
No related branches found
No related tags found
No related merge requests found
Pipeline #82411 passed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment