https://github.com/thor/netlify-plugin-hugo-modules
A Netlify plugin that rewrites Github Hugo modules from HTTPS to SSH, and fetches all Hugo modules before building.
https://github.com/thor/netlify-plugin-hugo-modules
hugo netlify netlify-plugin
Last synced: 4 months ago
JSON representation
A Netlify plugin that rewrites Github Hugo modules from HTTPS to SSH, and fetches all Hugo modules before building.
- Host: GitHub
- URL: https://github.com/thor/netlify-plugin-hugo-modules
- Owner: thor
- License: mit
- Created: 2020-07-13T00:54:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-13T00:58:05.000Z (almost 6 years ago)
- Last Synced: 2025-10-29T13:42:17.950Z (8 months ago)
- Topics: hugo, netlify, netlify-plugin
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Checkout Hugo Modules Using SSH In Netlify
## Why?
You have a [Hugo site that uses modules][hugo_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
[hugo_modules]: https://gohugo.io/hugo-modules/