Skip to main content

createPublishBitbucketAction()

Home > @backstage/plugin-scaffolder-backend-module-bitbucket > createPublishBitbucketAction

Warning: This API is now obsolete.

in favor of "createPublishBitbucketCloudAction" by @backstage/plugin-scaffolder-backend-module-bitbucket-cloud and "createPublishBitbucketServerAction" by @backstage/plugin-scaffolder-backend-module-bitbucket-server

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

Signature:

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