Ethan Marshall
d177a087ea
Adds a system which should allow us to avoid copying the same massive files every time we want to update the site. Improves siteupdate performance by an order of magnitude.
9 lines
124 B
Bash
Executable file
9 lines
124 B
Bash
Executable file
#!/bin/sh
|
|
|
|
rm -rf public/
|
|
hugo
|
|
|
|
ssh root@ejv2.cc rm -rf /var/www/html/
|
|
rsync -zr public/ ejv2.cc:/var/www/html/
|
|
|
|
./bigfiles
|