Skip to content

A Netlify plugin that rewrites Github Hugo modules from HTTPS to SSH, and fetches all Hugo modules before building.

License

Notifications You must be signed in to change notification settings

thor/netlify-plugin-hugo-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checkout Hugo Modules Using SSH In Netlify

Why?

You have a Hugo site that uses modules, and perhaps you have private modules too.

What?

Checks out those Hugo modules without you needing to make a mess of your netlify.toml.

Additionally, you're in for a treat if some of your Hugo (Go) modules are private: this plugin can configure a rewrite of modules from HTTPS to SSH, allowing for Netlify's deploy keys to work effortlessly with your private Hugo modules.

Coming Up

  • Add support for Netlify inputs with defaults
  • Add toggle for recursive checkouts of modules
  • Maybe: add support for multiple rewrites from HTTPS to SSH

About

A Netlify plugin that rewrites Github Hugo modules from HTTPS to SSH, and fetches all Hugo modules before building.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published