Skip to main content

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 | undefined;
defaultBranch?: string | undefined;
repoVisibility?: "private" | "public" | undefined;
gitCommitMessage?: string | undefined;
sourcePath?: string | undefined;
token?: string | undefined;
}, import("@backstage/types").JsonObject>;

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; config: Config; }

**Returns:**

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