Sfoglia il codice sorgente

Add update_mangane.sh, update_phanpy.sh and update_sengi.sh

poesty 1 anno fa
parent
commit
071ac562d0

+ 6 - 0
update/update_mangane.sh

@@ -0,0 +1,6 @@
+#!/bin/bash
+cd /root
+curl -L https://github.com/BDX-town/Mangane/releases/latest/download/static.zip -o mangane.zip
+unzip mangane.zip
+lftp -c "set ssl:verify-certificate no; open ftp://[REDACTED]; mirror -Rev dist/ [REMOTE]/ --only-newer --parallel=10 -X .htaccess -X favicon.ico"
+rm -r dist/ mangane.zip

+ 5 - 0
update/update_phanpy.sh

@@ -0,0 +1,5 @@
+#!/bin/bash
+cd /root
+sh docker-image-extract ganeshlab/phanpy
+lftp -c "set ssl:verify-certificate no; open ftp://[REDACTED]; mirror -Rev output/app/ [REMOTE]/ --only-newer --parallel=10 -X .htaccess -X robots.txt"
+rm -r output

+ 5 - 0
update/update_sengi.sh

@@ -0,0 +1,5 @@
+#!/bin/bash
+cd /root
+sh docker-image-extract nicolasconstant/sengi
+lftp -c "set ssl:verify-certificate no; open ftp://[REDACTED]; mirror -Rev output/app/ [REMOTE]/ --only-newer --parallel=10 -X .htaccess -X robots.txt"
+rm -r output

+ 1 - 1
update/update_soapbox.sh

@@ -2,5 +2,5 @@
 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 sftp:auto-confirm yes; open sftp://[REDACTED]; mirror -Rev static/ [REMOTE]/ --only-newer --parallel=10 -X .htaccess -X favicon.ico"
+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