Deploy your hugo site with github pages using one command
Project description
hugo-deployer-git
Deploy your hugo site with git using one command
Inspired by hexo-deployer-git.
Installation
pip3 install hugo-deployer-git
Setup
In your config.toml
, put in this section
[deploy]
# required field
repo = "<your github page repo>"
branch = "master"
# optional_commit message, default to build time
message = ""
name= "testuser"
email= "test@testtest.com"
build-config= "--minify"
How to use
In your hugo website folder, use hugo-deployer-git
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.