mirror of
https://github.com/samply/bridgehead.git
synced 2025-10-27 08:10:26 +01:00
fix: don't run secret sync for minimal (#349)
This commit is contained in:
@@ -337,6 +337,10 @@ function sync_secrets() {
|
||||
}
|
||||
|
||||
function secret_sync_gitlab_token() {
|
||||
if [ "$PROJECT" == "minimal" ]; then
|
||||
log "INFO" "Not running Secret Sync for project minimal"
|
||||
return
|
||||
fi
|
||||
# Map the origin of the git repository /etc/bridgehead to the prefix recognized by Secret Sync
|
||||
local gitlab
|
||||
case "$(git -C /etc/bridgehead remote get-url origin)" in
|
||||
|
||||
Reference in New Issue
Block a user