my website, made in hugo https://rogs.me
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

6 lines
199 B

#!/usr/bin/env bash
rm -rf ~/code/personal/rogs.me/public/*
hugo
rsync -vruP ~/code/personal/rogs.me/public/* [email protected]:/var/www/rogs.me
ssh [email protected] "sudo service nginx restart"