带有子模块的 Gitlab CI monorepo

问题描述 投票:0回答:0

我有这样的项目结构:

/
  /apps/
          frontend_1 [git submodule]
          frontend_2 [git submodule]
  /modules/
          ui-components [git submodule]

当我需要使用 ui-components (branch release/v1) 构建 frontend_1 (branch main) 和使用 ui-components (branch release/v2) 构建 frontend_2 (branch main) 时,我如何实现部署功能

next.js gitlab-ci git-submodules monorepo
© www.soinside.com 2019 - 2024. All rights reserved.