Add siteupdate script
This commit is contained in:
parent
3fbc592618
commit
2e9c9b3849
1 changed files with 7 additions and 0 deletions
7
siteupdate
Executable file
7
siteupdate
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
rm -rf public/
|
||||
hugo
|
||||
|
||||
ssh root@ejv2.cc rm -rf /var/www/html/
|
||||
rsync -r public/ ejv2.cc:/var/www/html/
|
Loading…
Reference in a new issue