mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-29 00:11:21 -05:00
Compare commits
4 Commits
showTraceL
...
stablecite
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de1c105e39 | ||
|
|
f96a78f369 | ||
|
|
868e35b729 | ||
|
|
b147f5e314 |
@@ -2237,11 +2237,11 @@ def genDocsPr(ctx):
|
||||
"from_secret": "gh-docs-push-key",
|
||||
},
|
||||
"GIT_SSH_COMMAND": "ssh -o StrictHostKeyChecking=no -i /root/id_rsa",
|
||||
"OC_GIT_BRANCH": "${CI_COMMIT_BRANCH}",
|
||||
"MY_TARGET_BRANCH": "${CI_COMMIT_BRANCH##stable-}",
|
||||
"OC_GIT_BRANCH": "stable-4.0",
|
||||
"MY_TARGET_BRANCH": "4.0",
|
||||
},
|
||||
"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)"',
|
||||
'export DOC_GIT_TARGET_FOLDER="$$(if [ \"$$MY_TARGET_BRANCH\" = \"main\" ]; then echo \"tmpdocs/docs/dev/server/_static/env-vars/\"; else echo \"tmpdocs/versioned_docs/version-$${MY_TARGET_BRANCH}/dev/server/_static/env-vars/\"; fi)"',
|
||||
'echo "$${CI_SSH_KEY}" > /root/id_rsa && chmod 600 /root/id_rsa',
|
||||
'git config --global user.email "devops@opencloud.eu"',
|
||||
'git config --global user.name "openclouders"',
|
||||
@@ -2269,6 +2269,10 @@ def genDocsPr(ctx):
|
||||
"branch": "[main]",
|
||||
"cron": "nightly *",
|
||||
},
|
||||
{
|
||||
"event": "push",
|
||||
"branch": "stablecitest-12.3.4",
|
||||
},
|
||||
],
|
||||
}]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user