Added small utility to copy the site from the jekyll build folder to the nginx folder.

This commit is contained in:
pablo 2021-11-14 17:53:34 +01:00
parent e692da6e91
commit 0e1c4eaee9

View file

@ -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!"