Aggiunta procedura per deploy FTP

This commit is contained in:
loviuz 2022-06-05 16:45:41 +02:00
parent 2df39a0aff
commit c6041a63ca
2 changed files with 6 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
public
resources/_gen
themes/*
*.lock
*.lock
deploy-ftp.sh

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

@ -0,0 +1,4 @@
#!/bin/sh
hugo --gc --minify
rclone sync --interactive --sftp-host sftp.example.com --sftp-user www-data --sftp-password obscured_password public/ :sftp:/domains/tuosito.it/public_html/