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 ¶
TriggerNetlifyDeployment builds a netlify site using the specified webhook
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.