[フレーム]

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 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 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 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 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 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 modified on Jan 29, 2025

AltStyle によって変換されたページ (->オリジナル) /