package deploy

import "github.com/gohugoio/hugo/deploy"

Index

Functions

func InvalidateCloudFront

func InvalidateCloudFront(ctx context.Context, distributionID string) error

InvalidateCloudFront invalidates the CloudFront cache for distributionID. It uses the default AWS credentials from the environment.

Types

type Deployer

type Deployer struct {
	// contains filtered or unexported fields
}

Deployer supports deploying the site to target cloud providers.

func New

func New(cfg config.Provider, localFs afero.Fs) (*Deployer, error)

New constructs a new *Deployer.

func (*Deployer) Deploy

func (d *Deployer) Deploy(ctx context.Context) error

Deploy deploys the site to a target.

Source Files

cloudfront.go deploy.go deployConfig.go

Version
v0.56.2
Published
Jul 30, 2019
Platform
darwin/amd64
Imports
31 packages
Last checked
31 minutes ago

Tools for package owners.