createPublishBitbucketServerAction()
Home > @backstage/plugin-scaffolder-backend-module-bitbucket-server > createPublishBitbucketServerAction
Creates a new action that initializes a git repository of the content in the workspace and publishes it to Bitbucket Server.
Signature:
function createPublishBitbucketServerAction(options: {
    integrations: ScmIntegrationRegistry;
    config: Config;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
    repoUrl: string;
    description?: string | undefined;
    repoVisibility?: "private" | "public" | undefined;
    defaultBranch?: string | undefined;
    sourcePath?: string | undefined;
    enableLFS?: boolean | undefined;
    token?: string | undefined;
    gitCommitMessage?: string | undefined;
    gitAuthorName?: string | undefined;
    gitAuthorEmail?: string | undefined;
    signCommit?: boolean | undefined;
}, {
    remoteUrl?: string | undefined;
    repoContentsUrl?: string | undefined;
    commitHash?: string | undefined;
}, "v2">;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| options | { integrations: ScmIntegrationRegistry; config: Config; } | 
import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; description?: string | undefined; repoVisibility?: "private" | "public" | undefined; defaultBranch?: string | undefined; sourcePath?: string | undefined; enableLFS?: boolean | undefined; token?: string | undefined; gitCommitMessage?: string | undefined; gitAuthorName?: string | undefined; gitAuthorEmail?: string | undefined; signCommit?: boolean | undefined; }, { remoteUrl?: string | undefined; repoContentsUrl?: string | undefined; commitHash?: string | undefined; }, "v2">