From 4f47edfea84c893d6762522b0bd01711b409b7fe Mon Sep 17 00:00:00 2001 From: Mina Her Date: Wed, 28 May 2025 04:10:29 +0000 Subject: [PATCH] Use presence to determine whether to use the default --- config/mastodon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/mastodon.yml b/config/mastodon.yml index 4585e1f2aee..2cdcc851523 100644 --- a/config/mastodon.yml +++ b/config/mastodon.yml @@ -6,7 +6,7 @@ shared: software_update_url: <%= ENV.fetch('UPDATE_CHECK_URL', 'https://api.joinmastodon.org/update-check')&.to_json %> source: base_url: <%= ENV.fetch('SOURCE_BASE_URL', nil)&.to_json %> - repository: <%= ENV.fetch('GITHUB_REPOSITORY', 'mastodon/mastodon') %> + repository: <%= ENV.fetch('GITHUB_REPOSITORY', nil).presence || 'mastodon/mastodon' %> tag: <%= ENV.fetch('SOURCE_TAG', nil) %> version: metadata: <%= ENV.fetch('MASTODON_VERSION_METADATA', nil)&.to_json %>