update_soapbox.sh 329 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 sftp:auto-confirm yes; open sftp://[REDACTED]; mirror -Rev static/ [REMOTE]/ --only-newer --parallel=10 -X .htaccess -X favicon.ico"
  6. rm -r static/ soapbox.zip