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...
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
- Create a new project in Buddy and select your Git provider:
Image loading...
- Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.
Image loading...
Configure Git Push action
- Look up and click Git Push on the action list to add it to the pipeline:
Image loading...
- 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...
- 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 Sep 24, 2024