uhugo.post_install.providers.netlify

class uhugo.post_install.providers.netlify.Netlify(api_key: str | None = None, config_path: str | None = None, hugo_version: str | None = None)[source]

Netlify provider

Parameters:
  • hugo_version – New Hugo version

  • api_key – Authentication key for providers

  • config_path – Path for configuration file of the provider

update_config_file(file_name: str)[source]

Updates netlify.yaml file with Hugo’s version

Parameters:

file_name – Path of netlify.yaml

Returns: