def post_deploy(previous_version):
    """Carries out post-deploy functions, such as rendering static pages."""
    for task in post_deploy_tasks:
        logging.info(task)
        task(previous_version)
        
    new_version = VersionInfo(
        key_name=os.environ['CURRENT_VERSION_ID'],
        blogokay_major = BLOGOKAY_VERSION[0],
        blogokay_minor = BLOGOKAY_VERSION[1],
        blogokay_rev = BLOGOKAY_VERSION[2])
    new_version.put()