diff --git a/_config.yml b/_config.yml index 1cfb8e1..970d0a7 100644 --- a/_config.yml +++ b/_config.yml @@ -21,7 +21,7 @@ description: >- # this means to ignore newlines until "baseurl:" baseurl: "" # the subpath of your site, e.g. /blog url: "https://ulovliglogning.dk" # the base hostname & protocol for your site, e.g. http://example.com donationCounter: - donated: 186594 + donated: 186595 goal: 250000 # multilanguage support diff --git a/_scripts/build-then-deploy.sh b/_scripts/build-then-deploy.sh index b26d3c0..ea43e7a 100644 --- a/_scripts/build-then-deploy.sh +++ b/_scripts/build-then-deploy.sh @@ -24,7 +24,7 @@ if [ -d "$jekyll_dir" ]; then exit 1 else echo -e "${success}Build succeded, now uploading to FTP server${normal}" - lftp -u ${remote_username},${remote_password} -e "mirror -R -p -P=10 --ignore-time -v ${jekyll_dir}/_site/ ${remote_dir};quit" ftp://${remote_host} + lftp -u ${remote_username},${remote_password} -e "mirror -R -p -P=10 --only-newer -v ${jekyll_dir}/_site/ ${remote_dir};quit" ftp://${remote_host} if [[ $? != 0 ]]; then echo -e "${error}FAILED: Something went wrong trying to upload to the FTP server${normal}" exit 1