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<{
repoUrl: string;
projectId: string | number;
name: string;
scopes: string[];
token?: string | undefined;
username?: string | undefined;
}, {
deploy_token: string;
user: string;
}, "v2">
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ integrations: ScmIntegrationRegistry; } |
Templating configuration. |
import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; projectId: string | number; name: string; scopes: string[]; token?: string | undefined; username?: string | undefined; }, { deploy_token: string; user: string; }, "v2">