gitPush
ci/gitPush Component: v0.25.0+ Git push component, used for pushing updates to git.
Additional library required: rulego-components-ci (opens new window)
# Configuration
| Field | Type | Description | Default Value |
|---|---|---|---|
| repository | string | Git repository URL, can use component configuration variables | Obtained from metadata's ref |
| directory | string | Local directory to clone into, can use component configuration variables | Obtained from metadata's workDir |
| refSpecs | string | Defines the mapping between local and remote branches, e.g., refs/heads/main:refs/heads/main. Multiple mappings separated by commas, can use component configuration variables | refs/heads/main |
| authType | string | Authentication type, can be ssh, password, or token | token |
| authUser | string | Username | Empty |
| authPassword | string | Password or token | Empty |
| authPemFile | string | Path to SSH key file | Empty |
| proxyUrl | string | Proxy address | Empty |
| proxyUsername | string | Proxy username | Empty |
| proxyPassword | string | Proxy password | Empty |
# Relation Type
- Success: On successful execution, the message is sent to the
Successchain. - Failure: On failed execution, the message is sent to the
Failurechain.
# Execution Results
- No changes to
msg.Data.
Edit this page on GitHub (opens new window)
Last Updated: 2025/09/03, 10:09:04