docs

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// LocalPorterRepositoryEnv is the environment variable used to store the path
	// to a local checkout of Porter.
	LocalPorterRepositoryEnv = "PORTER_REPOSITORY"

	// DefaultPorterSourceDir is the directory where the Porter repo
	// is cloned when LocalPorterRepositoryEnv was not specified.
	DefaultPorterSourceDir = "../porter"
)

Variables

This section is empty.

Functions

func DeployWebsite

func DeployWebsite() error

DeployWebsite triggers a Netlify build for the website.

func DeployWebsitePreview

func DeployWebsitePreview() error

DeployWebsitePreview builds the entire website for a preview on Netlify.

func Preview

func Preview() error

Preview builds the entire website and previews it in the browser on your local machine.

func TriggerNetlifyDeployment

func TriggerNetlifyDeployment(webhook string) error

TriggerNetlifyDeployment builds a netlify site using the specified webhook

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL