Program: Bash Script to generate and upload a Hugo site
Dec 15, 2019
13 seconds
This is a simple script I wrote, mainly for personal use, that automatically uploads generates and uploads a website made in Hugo to a remote server via sshfs.
Available Configurations:
# Basic Settings
localPath=.
tmpPath=/tmp/uploadHugo
# Authentification
serverUsername=$USER
serverIP=YOUR SERVER IP
serverPath=/var/www/html
usePassword=false
serverPassword=YOUR PASSWORD
Dependencies:
- hugo
- sshfs
Download on Gitlab