take deploy target as argument

This commit is contained in:
Rupus Reinefjord 2024-08-13 19:03:38 +02:00
parent 11778ef50c
commit 79c0140166

2
deploy
View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
IFS=$'\n' IFS=$'\n'
rsync -Rtzv $(git ls-files public) root@reinefjord.net:/var/www/reinefjord.net-v3/ rsync -Rtzv $(git ls-files public) root@$1:/var/www/reinefjord.net-v3/