Files
csgowtf/deploy.sh
Giovanni Harting 67da621074
Some checks failed
CSGOWTF/csgowtf/pipeline/head There was a failure building this commit
added deployment
2021-10-20 18:24:38 +02:00

13 lines
455 B
Bash

#!/usr/bin/env bash
lftp -c "open -e \"set ftp:ssl-auth TLS; \
set ftp:ssl-force true; \
set ftp:ssl-protect-list yes; \
set ftp:ssl-protect-data yes; \
set ftp:ssl-protect-fxp yes; \
set ssl:verify-certificate no; \
rm -r *; \
mput dist/*; \" \
-u '$FTP_USERNAME','$FTP_PASSWORD' \
ftps://$FTP_HOST"