Primo commit

This commit is contained in:
loviuz
2022-12-19 22:37:47 +01:00
commit 26eafa93f2
55 changed files with 2217 additions and 0 deletions

11
deploy-ftp-example.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
# Creazione file statici per Hugo
hugo --gc
# Eliminazione file generati inutilizzati
find public/ -name \*xcf -exec rm -f "{}" \;
#find public/ -name \*jpg -exec rm -f "{}" \;
find public/ -name \*png -exec rm -f "{}" \;
rclone sync --interactive --sftp-host sftp.example.com --sftp-user www-data --sftp-password obscured_password public/ :sftp:/domains/tuosito.it/public_html/