Skip to content
Snippets Groups Projects
Commit fdf8d0b8 authored by Stine Olava Faksdal's avatar Stine Olava Faksdal
Browse files
parents 6c6c803f f83f29e7
No related branches found
No related tags found
No related merge requests found
Pipeline #81971 failed
......@@ -33,10 +33,10 @@ deploy:
- touch ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa # Required permission by ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- scp public/index.html app@10.52.203.68:app/public
#- apt-get update
#- apt-get install --assume-yes rsync
#- rsync --archive --delete --exclude='.git' --exclude='node_modules' . app@10.52.203.68
#- ssh app@10.52.203.68 systemctl --user restart app
#- scp public/index.html app@10.52.203.68:app/public
- apt-get update
- apt-get install --assume-yes rsync
- rsync --archive --delete --exclude='.git' --exclude='node_modules' . app@10.52.203.68:app
- ssh app@10.52.203.68 systemctl --user restart app
only:
- master
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