Skip to content
Snippets Groups Projects
Commit 8876dd43 authored by App's avatar App
Browse files

test4

parent 2245b462
Branches master
No related tags found
No related merge requests found
Pipeline #81099 failed
...@@ -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 update - apt update
- apt install rsync -y - apt install rsync -y
- ssh app@10.52.205.114 - ssh app@10.52.205.114 touch ~/testfil
- rsync --archive --delete --exclude='.git' . app@10.52.205.114:app - rsync --archive --delete --exclude='.git' . app@10.52.205.114:app
- ssh app@10.52.205.114 /Users/app/app/node_modules/pm2/pm2 restart app - ssh app@10.52.205.114 /Users/app/app/node_modules/pm2/pm2 restart app
only: only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment