Added small utility to copy the site from the jekyll build folder to the nginx folder.
This commit is contained in:
parent
e692da6e91
commit
0e1c4eaee9
1 changed files with 11 additions and 0 deletions
11
nginx/copy_public_jekyll_to_nginx.sh
Normal file
11
nginx/copy_public_jekyll_to_nginx.sh
Normal 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!"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue