createPublishGiteaAction()
Home > @backstage/plugin-scaffolder-backend-module-gitea
> createPublishGiteaAction
Creates a new action that initializes a git repository using the content of the workspace. and publishes it to a Gitea instance.
Signature:
function createPublishGiteaAction(options: {
integrations: ScmIntegrationRegistry;
config: Config;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
description: string;
defaultBranch?: string | undefined;
repoVisibility?: "private" | "public" | undefined;
gitCommitMessage?: string | undefined;
gitAuthorName?: string | undefined;
gitAuthorEmail?: string | undefined;
sourcePath?: 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; defaultBranch?: string | undefined; repoVisibility?: "private" | "public" | undefined; gitCommitMessage?: string | undefined; gitAuthorName?: string | undefined; gitAuthorEmail?: string | undefined; sourcePath?: string | undefined; }, import("@backstage/types").JsonObject>