From 2d524c41c2ee54f203ee294c0966c0dd583212a4 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+Sporqist@users.noreply.github.com> Date: Fri, 24 Mar 2023 17:39:36 +0100 Subject: [PATCH] =?UTF-8?q?unterst=C3=BCtze=20Actions=20Konfiguration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/environment.env.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/environment.env.j2 b/templates/environment.env.j2 index 679d7ad..f2d3f73 100644 --- a/templates/environment.env.j2 +++ b/templates/environment.env.j2 @@ -296,3 +296,12 @@ GITEA__security__PASSWORD_CHECK_PWN={{ gitea_vars.security.password_check_pwn }} GITEA__security__successful_TOKENS_CACHE_SIZE={{ gitea_vars.security.successful_tokens_cache_size }} {% endif %} {% endif %} {# /security #} + +{% if 'actions' in gitea_vars %} +{% if 'enabled' in gitea_vars['actions'] %} +GITEA__actions__ENABLED={{ gitea_vars.actions.enabled }} +{% endif %} +{% if 'default_actions_url' in gitea_vars['actions'] %} +GITEA__actions__DEFAULT_ACTIONS_URL={{ gitea_vars.actions.default_actions_url }} +{% endif %} +{% endif %} {# /actions #}