Source code for uhugo.post_install.providers.vercel
from typing import Text
from uhugo.post_install.providers import ProviderBase
[docs]
class Vercel(ProviderBase):
"""
Vercel provider
"""
[docs]
def update_config_file(self, file_name: Text):
"""
Updates ``vercel.json`` file with Hugo's version
:param file_name: Path of ``vercel.json``
:return:
"""
pass
[docs]
def update_api(self, key: Text):
"""
Updates Cloudflare Pages environment variable of ``HUGO_VERSION``.
:param key: API key
:return:
"""
pass