mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-09 21:48:50 -06:00
Merge pull request #2159 from opencloud-eu/stablecitest-12.3.4
This commit is contained in:
@@ -2239,7 +2239,7 @@ def genDocsPr(ctx):
|
||||
},
|
||||
"GIT_SSH_COMMAND": "ssh -o StrictHostKeyChecking=no -i /root/id_rsa",
|
||||
"OC_GIT_BRANCH": "${CI_COMMIT_BRANCH}",
|
||||
"MY_TARGET_BRANCH": "${CI_COMMIT_BRANCH}",
|
||||
"MY_TARGET_BRANCH": "${CI_COMMIT_BRANCH##stable-}",
|
||||
},
|
||||
"commands": [
|
||||
'export DOC_GIT_TARGET_FOLDER="$$(if [ \"$$MY_TARGET_BRANCH\" = \"main\" ]; then echo \"tmpdocs/docs/dev/_static/env-vars/\"; else echo \"tmpdocs/versioned_docs/version-$${MY_TARGET_BRANCH}/dev/_static/env-vars/\"; fi)"',
|
||||
@@ -2257,13 +2257,18 @@ def genDocsPr(ctx):
|
||||
"when": [
|
||||
{
|
||||
"event": "push",
|
||||
"path": "services/*/pkg/config/**/*.go",
|
||||
"path": {
|
||||
"include": [
|
||||
"services/*/pkg/config/**/*.go",
|
||||
"pkg/**/*.go",
|
||||
],
|
||||
},
|
||||
"branch": "[main, stable-*]",
|
||||
},
|
||||
{
|
||||
"event": "cron",
|
||||
"branch": "[main]",
|
||||
"cron": "nightly (@daily)",
|
||||
"cron": "nightly *",
|
||||
},
|
||||
],
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user