#!/bin/bash # Make the development version live. # (Only run this on the Synoikos server.) # Note: requires root privileges. 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."