From 9e6c23c4ccf42711e273fcc5787a85bc5c7762f4 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Fri, 3 Nov 2023 18:27:12 +0100 Subject: [PATCH] Create new eclipse-oniro4openharmony.github.io for GitHub pages (#4) * Create new eclipse-oniro4openharmony.github.io for GitHub pages The new GitHub pages repo will be used to hold the project documentation. Signed-off-by: Stefan Schmidt * Update eclipse-oniro4openharmony.jsonnet Signed-off-by: Thomas Neidhart --------- Signed-off-by: Stefan Schmidt Signed-off-by: Thomas Neidhart Co-authored-by: Thomas Neidhart --- otterdog/eclipse-oniro4openharmony.jsonnet | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/otterdog/eclipse-oniro4openharmony.jsonnet b/otterdog/eclipse-oniro4openharmony.jsonnet index c46ac44..3466e4b 100644 --- a/otterdog/eclipse-oniro4openharmony.jsonnet +++ b/otterdog/eclipse-oniro4openharmony.jsonnet @@ -21,5 +21,23 @@ orgs.newOrg('eclipse-oniro4openharmony') { allow_update_branch: false, default_branch: "OpenHarmony-3.2-Release", }, + orgs.newRepo('eclipse-oniro4openharmony.github.io') { + allow_auto_merge: true, + allow_update_branch: false, + delete_branch_on_merge: true, + web_commit_signoff_required: true, + auto_init: false, + gh_pages_build_type: "legacy", + gh_pages_source_branch: "main", + gh_pages_source_path: "/", + environments: [ + orgs.newEnvironment('github-pages') { + branch_policies+: [ + "main" + ], + deployment_branch_policy: "selected", + }, + ], + }, ], }