Skip to content
Snippets Groups Projects
Commit 326a75af authored by Sabine Seljeseth's avatar Sabine Seljeseth
Browse files

endrer på rsync

parent 5368b3ef
No related branches found
No related tags found
No related merge requests found
Pipeline #81599 passed
...@@ -35,7 +35,7 @@ deploy: ...@@ -35,7 +35,7 @@ deploy:
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- apt-get update - apt-get update
- apt-get install --assume-yes rsync - apt-get install --assume-yes rsync
- ssh app@10.52.231.219 -Tv - rsync --archive --delete --exclude='.git' --exclude='node_modules' . app@10.52.231.219:app
- ssh app@10.52.231.219 systemctl --user restart app - ssh app@10.52.231.219 systemctl --user restart app
only: only:
- master - master
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment