Knowledge

Git Push

Parameters

Name Description
action Required String The ID of the action.
push_url Required String The url to the repository.
type Required String The type of the action. Should be set to PUSH.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
login String The username required to connect to the server.
password String The password required to connect to the server.
push_tags Boolean Defines whether the tags should be pushed to the remote repository or not.
git_auth_mode Required String The authentication mode for Git Push. Can be one of HTTP, PRIVATE_KEY or PUBLIC_BUDDY_KEY.

Example

actions:
  - action: "Push to https://app.buddy.works/buddy/repo"
    type: "PUSH"
    login: "api_tests_user"
    password: "api_tests_password"
    push_tags: true
    push_url: "https://app.buddy.works/buddy/repo"
    git_auth_mode: HTTP

Get started now

14 days of unlimited trial. No credit card required.