public deploy — function
deploy(
source, dir, [targets...];
versioned=true,
named=false,
force=false,
label=nothing,
)
Build the source using the given targets list in the dir directory.
source can be either a Module or a String representing a Project.toml
path.
Keyword arguments can be used to control resulting directory structure.
-
versionedandnamed.These keywords will place the built files in either a versioned subdirectory, or a named subdirectory of
dir, or both (with name superceding version).The values for
nameandversionare taken from those provided in the project’sProject.tomlfile. If these values are not specified then the “deployment” will fail. -
forcewill remove the calculated build path prior to building if it already exists. -
labelspecifies a temporal folder name to copy the finished build to. This can be used to build a “tracking” version of documentation such as a “dev” or “stable” that changes over time while still retaining the exact versioned builds.