#!/bin/bash cd /root curl -L https://gitlab.com/soapbox-pub/soapbox/-/jobs/artifacts/develop/download\?job\=build-production -o soapbox.zip unzip soapbox.zip lftp -c "set ssl:verify-certificate no; open ftp://[REDACTED]; mirror -Rev static/ [REMOTE]/ --only-newer --parallel=10 -X .htaccess -X favicon.ico" rm -r static/ soapbox.zip