Backstage
Docs
Github
Preparing search index...
@backstage/plugin-scaffolder-backend-module-gitlab
createGitlabRepoPushAction
Function createGitlabRepoPushAction
createGitlabRepoPushAction
(
options
:
{
integrations
:
ScmIntegrationRegistry
}
,
)
:
TemplateAction
<
{
branchName
:
string
;
commitAction
?:
"create"
|
"delete"
|
"update"
|
"auto"
;
commitMessage
:
string
;
repoUrl
:
string
;
sourcePath
?:
string
;
targetPath
?:
string
;
token
?:
string
;
}
,
{
commitHash
:
string
;
projectid
:
string
;
projectPath
:
string
}
,
"v2"
,
>
Create a new action that commits into a gitlab repository.
Parameters
options
:
{
integrations
:
ScmIntegrationRegistry
}
Returns
TemplateAction
<
{
branchName
:
string
;
commitAction
?:
"create"
|
"delete"
|
"update"
|
"auto"
;
commitMessage
:
string
;
repoUrl
:
string
;
sourcePath
?:
string
;
targetPath
?:
string
;
token
?:
string
;
}
,
{
commitHash
:
string
;
projectid
:
string
;
projectPath
:
string
}
,
"v2"
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
Github
Backstage
Loading...
Create a new action that commits into a gitlab repository.