summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-07-30 14:14:58 +0200
committerlain <lain@soykaf.club>2020-07-30 14:14:58 +0200
commit4ce4d799fd9fa5ab4fde6c6aa55bf8b516d64c12 (patch)
treee67baa61da5eb8bdc52c402fcf3ac827913e7b7a /config
parent2e20ceee523084a11c07c5a3a99fa2de3be15e7a (diff)
Config: Add frontend information.
Diffstat (limited to 'config')
-rw-r--r--config/config.exs36
1 files changed, 35 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index 0c9685c4c..bf24d1bd9 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -657,7 +657,41 @@ config :pleroma, :static_fe, enabled: false
#
# config :pleroma, :frontends,
# primary: %{"name" => "pleroma", "ref" => "develop"},
-# admin: %{"name" => "admin", "ref" => "stable"}
+# admin: %{"name" => "admin", "ref" => "stable"},
+# available: %{...}
+
+config :pleroma, :frontends,
+ available: %{
+ "pleroma" => %{
+ "name" => "pleroma",
+ "git" => "https://git.pleroma.social/pleroma/pleroma-fe",
+ "build_url" =>
+ "https://git.pleroma.social/pleroma/pleroma-fe/-/jobs/artifacts/${ref}/download?job=build",
+ "ref" => "develop"
+ },
+ "fedi-fe" => %{
+ "name" => "fedi-fe",
+ "git" => "https://git.pleroma.social/pleroma/fedi-fe",
+ "build_url" =>
+ "https://git.pleroma.social/pleroma/fedi-fe/-/jobs/artifacts/${ref}/download?job=build",
+ "ref" => "master"
+ },
+ "admin-fe" => %{
+ "name" => "admin-fe",
+ "git" => "https://git.pleroma.social/pleroma/admin-fe",
+ "build_url" =>
+ "https://git.pleroma.social/pleroma/admin-fe/-/jobs/artifacts/${ref}/download?job=build",
+ "ref" => "develop"
+ },
+ "soapbox-fe" => %{
+ "name" => "soapbox-fe",
+ "git" => "https://gitlab.com/soapbox-pub/soapbox-fe",
+ "build_url" =>
+ "https://gitlab.com/soapbox-pub/soapbox-fe/-/jobs/artifacts/${ref}/download?job=build-production",
+ "ref" => "v1.0.0",
+ "build_dir" => "static"
+ }
+ }
config :pleroma, :web_cache_ttl,
activity_pub: nil,