Modified this script a bit since I switched from Jekyll to Pelican

This commit is contained in:
pablo 2021-11-15 22:52:57 +01:00
parent 0e1c4eaee9
commit eef8957e77

View file

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
JEKYLL_SITE_LOCATION=/home/pablo/counterweight/_site SITE_BUILD_LOCATION=/home/pablo/counterweight/output
NGINX_SITE_LOCATION=/home/pablo/counterweight_nginx/site NGINX_SITE_LOCATION=/home/pablo/counterweight_nginx/site
echo "Copying from $JEKYLL_SITE_LOCATION to $NGINX_SITE_LOCATION" echo "Copying from $SITE_BUILD_LOCATION to $NGINX_SITE_LOCATION"
cp -a $JEKYLL_SITE_LOCATION/. $NGINX_SITE_LOCATION cp -a $SITE_BUILD_LOCATION/. $NGINX_SITE_LOCATION
echo "Done!" echo "Done!"