Skip to main content

createGitlabProjectDeployTokenAction()

Home > @backstage/plugin-scaffolder-backend-module-gitlab > createGitlabProjectDeployTokenAction

Creates a gitlab:projectDeployToken:create Scaffolder action.

Signature:

createGitlabProjectDeployTokenAction: (options: {
integrations: ScmIntegrationRegistry;
}) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
name: string;
scopes: string[];
repoUrl: string;
projectId: string | number;
username?: string | undefined;
token?: string | undefined;
}, {
user: string;
deploy_token: string;
}>

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; }

Templating configuration.

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ name: string; scopes: string[]; repoUrl: string; projectId: string | number; username?: string | undefined; token?: string | undefined; }, { user: string; deploy_token: string; }>