|
@@ -1,6 +1,6 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
cd /root
|
|
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
|
|
|
|
|
|
+wget https://dl.soapbox.pub/main/soapbox.zip
|
|
|
|
+unzip soapbox.zip -d soapbox
|
|
|
|
+lftp -c "set ssl:verify-certificate no; open ftp://[REDACTED]; mirror -Rev soapbox/ [REMOTE]/ --only-newer --parallel=10 -X .htaccess -X favicon.ico"
|
|
|
|
+rm -r soapbox/ soapbox.zip
|