better deploy script
This commit is contained in:
parent
e734f71dde
commit
c80ec54ec5
1 changed files with 4 additions and 2 deletions
6
deploy
6
deploy
|
@ -1,2 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
rsync --ignore-existing -rPh public root@reinefjord.net:/var/www/reinefjord.net-v3/
|
|
||||||
|
IFS=$'\n'
|
||||||
|
rsync -Rtzv $(git ls-files public) root@reinefjord.net:/var/www/reinefjord.net-v3/
|
||||||
|
|
Loading…
Add table
Reference in a new issue