diff --git a/update_website.sh b/update_website.sh new file mode 100644 index 0000000..fb6c4fc --- /dev/null +++ b/update_website.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Make the development version live. +# (Only run this on the Synoikos server.) + +echo "Creating backup of current website." +mkdir -p backup +cp -r /var/www/html backup + +echo "Pushing development version to production." +cp *.html *.css *.png *.svg *.jpg /var/www/html + +echo "Done."