diff --git a/build_website.sh b/build_website.sh index 2505ddbb..18edb0c1 100755 --- a/build_website.sh +++ b/build_website.sh @@ -45,8 +45,8 @@ if [ "$CI" = true ] ; then curl --retry 15 -O https://downloads.rclone.org/v1.57.0/rclone-v1.57.0-linux-amd64.zip unzip rclone-v1.57.0-linux-amd64.zip chmod 755 rclone-v1.57.0-linux-amd64/rclone - rclone-v1.57.0-linux-amd64/rclone -q --retries --fast-list --transfers=1 copy ~/new.crimenmexico/elcri.men/static/en/images/infographics/fulls/ :b2:"$B2_BUCKET"/infographics/en/ --b2-account="$B2_APPKEY_ID" --b2-key="$B2_APPKEY" --include "*.png" - rclone-v1.57.0-linux-amd64/rclone -q --retries --fast-list --transfers=1 copy ~/new.crimenmexico/elcri.men/static/es/images/infographics/fulls/ :b2:"$B2_BUCKET"/infographics/es/ --b2-account="$B2_APPKEY_ID" --b2-key="$B2_APPKEY" --include "*.png" + rclone-v1.57.0-linux-amd64/rclone -q --retries 3 --fast-list --transfers=1 copy ~/new.crimenmexico/elcri.men/static/en/images/infographics/fulls/ :b2:"$B2_BUCKET"/infographics/en/ --b2-account="$B2_APPKEY_ID" --b2-key="$B2_APPKEY" --include "*.png" + rclone-v1.57.0-linux-amd64/rclone -q --retries 3 --fast-list --transfers=1 copy ~/new.crimenmexico/elcri.men/static/es/images/infographics/fulls/ :b2:"$B2_BUCKET"/infographics/es/ --b2-account="$B2_APPKEY_ID" --b2-key="$B2_APPKEY" --include "*.png" fi if [ "$CI" = true ] ; then diff --git a/deploy_website.sh b/deploy_website.sh index b8bb65ae..49298faa 100755 --- a/deploy_website.sh +++ b/deploy_website.sh @@ -13,5 +13,5 @@ set -o pipefail # piping a failed process into a successful one is an error # Copy the data files to a backup server if [ "$CI" = true ] ; then - rclone-v1.57.0-linux-amd64/rclone -q --retries --fast-list --transfers=1 copy ~/new.crimenmexico/data/ :b2:"$B2_BUCKET" --b2-account="$B2_APPKEY_ID" --b2-key="$B2_APPKEY" --include "*.gz" + rclone-v1.57.0-linux-amd64/rclone -q --retries 3 --fast-list --transfers=1 copy ~/new.crimenmexico/data/ :b2:"$B2_BUCKET" --b2-account="$B2_APPKEY_ID" --b2-key="$B2_APPKEY" --include "*.gz" fi