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