bdy artifact publish

$bdy artifact publish|pub [options] <identifier> <directory>

Publish file artifact. Required scopes: ARTIFACT_MANAGE

ARGUMENTS
identifier
Human-readable ID of the artifact and optionally version: artifact:version or artifact@version (optional)
directory
Path to the directory or file which will be published (required)
OPTIONS
-w, --workspace <domain>
Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE
--scope <scope>
Force scope (WORKSPACE, PROJECT). By default calculated by provided options and environmental variables (--project, BUDDY_PROJECT, linked project)
-p, --project <name>
Project name. Can be set via variable: BUDDY_PROJECT
-c, --create
Create artifact if not exists
-f, --force
Allow overwriting existing version
-h, --help
display help for command

Documentation for bdy v1.22.80

Last modified on Jun 30, 2026

Examples

Publish new version of file artifact
bdy art pub artifact-identifier:version /path/to/dir$
Publish latest version
bdy art pub artifact-identifier /path/to/dir$
Create new file artifact
bdy art pub artifact-identifier --create$
Overwrite existing version
bdy art pub artifact-identifier:version /path/to/dir -f$