Skip to content

thomasmey/HugoSftpUpload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hugo SFTP upload tools

Config

First create a config.json file in your working directory from the config.template.json file. adjust values accordingly.

FileHasher

Hashes all files in the public directory.

mvn exec:java -Dexec.mainClass=de.m3y3r.hsu.FileHasher

HashComparer

Compares the last two FileHasher results

mvn exec:java -Dexec.mainClass=de.m3y3r.hsu.HashComparer

Uploader

Takes the latest HashComparer result files and sync remote side via SFTP

mvn exec:java -Dexec.mainClass=de.m3y3r.hsu.Uploader

Run order

  1. FileHasher
  2. hugo
  3. FileHasher
  4. HashComparer
  5. Uploader

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages