1
0
Fork 0

Add siteupdate script

This commit is contained in:
Ethan Marshall 2024-08-02 00:42:43 +01:00
parent 3fbc592618
commit 2e9c9b3849
Signed by: ejv2
GPG key ID: EC2FAEF4DB8968D8

7
siteupdate Executable file
View 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/