Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

A BitBucket CI/CD Pipeline to Sync Branches With GitHub | AEM Community Blog Seeding

kautuk_sahni
Community Manager
Community Manager

BlogImage.jpg

A BitBucket CI/CD Pipeline to Sync Branches With GitHub by Stories by Albin Issac on Medium

Abstract

This is a common scenario when working on a cloud repository, but the day-to-day development is managed through local repositories. In that case, the local repository branches should be synced to the cloud repository for deployment. Handling the sync manually creates a lot of issues and also consumes more time from the development team. The better option is to automate the branch sync between the local repository and cloud repository. Complete repository mirroring can be enabled, but that will sync every branch. My aim is to sync only specific branches.

Prerequisites
1. Bit Bucket repository
2. Empty GitHub repository

Set Up Bitbucket Pipeline
I have created a branch with the name dev in the BitBucket repository. The dev branch should be synced with the GitHub repository on any changes. The dev branch will be created in the GitHub repository during the first sync.
The pipeline will be executed on every change pushed into the specified branches (e.g. dev and sync the changes with the remote GitHub repository).

Read Full Blog

A BitBucket CI/CD Pipeline to Sync Branches With GitHub

Q&A

Please use this thread to ask the related questions.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies