Skip to main content
Version: Next

createPublishBitbucketCloudAction()

Home > @backstage/plugin-scaffolder-backend-module-bitbucket-cloud > createPublishBitbucketCloudAction

Creates a new action that initializes a git repository of the content in the workspace and publishes it to Bitbucket Cloud.

Signature:

function createPublishBitbucketCloudAction(options: {
integrations: ScmIntegrationRegistry;
config: Config;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
description?: string;
defaultBranch?: string;
repoVisibility?: "private" | "public";
gitCommitMessage?: string;
sourcePath?: string;
token?: string;
signCommit?: boolean;
}, import("@backstage/types").JsonObject, "v1">;

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; config: Config; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; description?: string; defaultBranch?: string; repoVisibility?: "private" | "public"; gitCommitMessage?: string; sourcePath?: string; token?: string; signCommit?: boolean; }, import("@backstage/types").JsonObject, "v1">