Push changes to Git repository

The Git Push action is the equivalent of git push command injected to a CI/CD process. It allows you to automatically push files to the selected repository whenever the pipeline is triggered.

Image loading...Example pipeline with repository push actionExample pipeline with repository push action

Tip
If you are new to Buddy, check out our workflow guides that will tell you how to build, test and deploy your type of application.
Hint

📚 Learn more about Git Push action features, integrations and alternatives.

Configure pipeline in Buddy

  1. Create a new project in Buddy and select your Git provider:

Image loading...Creating a new projectCreating a new project

  1. Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.

Image loading...Adding a new pipelineAdding a new pipeline

Configure Git Push action

  1. Look up and click Git Push on the action list to add it to the pipeline:

Image loading...Remote server actionsRemote server actions

  1. The action has four configuration tabs:
  • Push – here you enter the authentication details to your repository, add a commit message, define the files to ignore, and apply the most common Git options
  • Variables – here you can save server credentials as environment variables for increased security
  • Conditions – here you configure the trigger conditions for which the action will run
  • Options – here you define the action's name and behavior on failure and timeout

Image loading...Git Push action configurationGit Push action configuration

  1. When ready, click Add this action to finish configuration.
Success
Congratulations! You have just made git push a vital part of your CI/CD process. 🥳
Last update:
Sep 24, 2024