From af75bd27980127d3152d9c18fd6df9eb089660d4 Mon Sep 17 00:00:00 2001 From: eclipse-langium-bot <150659361+eclipse-langium-bot@users.noreply.github.com> Date: Thu, 14 Dec 2023 10:09:51 +0100 Subject: [PATCH] Add preview token and environment for publishing of PR previews --- otterdog/eclipse-langium.jsonnet | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/otterdog/eclipse-langium.jsonnet b/otterdog/eclipse-langium.jsonnet index 613a2ee..cbeb6c6 100644 --- a/otterdog/eclipse-langium.jsonnet +++ b/otterdog/eclipse-langium.jsonnet @@ -125,6 +125,12 @@ orgs.newOrg('eclipse-langium') { ], deployment_branch_policy: "selected", }, + orgs.newEnvironment('pull-request-preview') {}, + ], + secrets: [ + orgs.newRepoSecret('DEPLOY_PREVIEW_TOKEN') { + value: "pass:bots/ecd.langium/github.com/preview-token", + }, ], }, ],