update_soapbox.sh 332 B

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