dpc-sdp / tide_api

Content API for Tide distribution.
https://www.drupal.org/project/tide_api
GNU General Public License v2.0
0 stars 2 forks source link

[SRM-526] Added new ci config to update reference branch. #96

Closed edyuenyw closed 1 year ago

edyuenyw commented 1 year ago

JIRA

https://digital-vic.atlassian.net/browse/SRM-526

Motivation

Reference site composer needs to keep itself updated to with the latest develop of tide modules. But pointing to develop and creating aliases in the root composer of content-reference will create conflict issue after every release with difference version. So creating a reference branch on tide profile and tide_* modules and updating this reference branch with develop branch changes every time there is a merge in develop, will solve the conflicting issue. So in the content reference root composer, just use this tide profile branch named reference.

Changes

Added a CI job, which will get triggered only for develop branch on every build and it will merge the changes from develop branch to the reference branch. This way we do not have to maintain this branch manually and it will be always up to date with develop and content-reference will be using this to get all the latest changes from develop.

MdNadimHossain commented 1 year ago

Same changes as this tide PR So no review needed, merging this.