mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
7
getnew.sh
Executable file
7
getnew.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
cd /var/www
|
||||
if ! git --git-dir=".git" diff --quiet
|
||||
then
|
||||
git pull
|
||||
./setperms.sh
|
||||
fi
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
cd /var/www
|
||||
if ! git --git-dir=".git" diff --quiet
|
||||
then
|
||||
git pull
|
||||
./setperms.sh
|
||||
fi
|
||||
|
||||
ssh root@zoff.no '/var/www/getnew.sh'
|
||||
|
||||
Reference in New Issue
Block a user