diff --git a/nginx/copy_public_jekyll_to_nginx.sh b/nginx/copy_public_jekyll_to_nginx.sh new file mode 100644 index 0000000..aae28df --- /dev/null +++ b/nginx/copy_public_jekyll_to_nginx.sh @@ -0,0 +1,11 @@ +#!/bin/bash + + +JEKYLL_SITE_LOCATION=/home/pablo/counterweight/_site +NGINX_SITE_LOCATION=/home/pablo/counterweight_nginx/site + +echo "Copying from $JEKYLL_SITE_LOCATION to $NGINX_SITE_LOCATION" + +cp -a $JEKYLL_SITE_LOCATION/. $NGINX_SITE_LOCATION + +echo "Done!"