suggest using stable frontends

This commit is contained in:
FloatingGhost 2022-07-15 11:58:35 +01:00
parent 4c007efa9b
commit 03fcf225e9
3 changed files with 9 additions and 8 deletions

View File

@ -718,7 +718,8 @@ config :pleroma, :static_fe, enabled: false
# available: %{...}
config :pleroma, :frontends,
primary: %{"name" => "pleroma-fe", "ref" => "develop"},
primary: %{"name" => "pleroma-fe", "ref" => "stable"},
admin: %{"name" => "admin-fe", "ref" => "stable"},
swagger: %{
"name" => "swagger-ui",
"ref" => "stable",
@ -728,8 +729,8 @@ config :pleroma, :frontends,
"pleroma-fe" => %{
"name" => "pleroma-fe",
"git" => "https://akkoma.dev/AkkomaGang/pleroma-fe",
"build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/akkoma-fe.zip",
"ref" => "develop",
"build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/${ref}/akkoma-fe.zip",
"ref" => "stable",
"build_dir" => "dist"
},
# Mastodon-Fe cannot be set as a primary - this is only here so we can update this seperately
@ -743,8 +744,8 @@ config :pleroma, :frontends,
"admin-fe" => %{
"name" => "admin-fe",
"git" => "https://akkoma.dev/AkkomaGang/admin-fe",
"build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/admin-fe.zip",
"ref" => "develop"
"build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/${ref}/admin-fe.zip",
"ref" => "stable"
},
"soapbox-fe" => %{
"name" => "soapbox-fe",

View File

@ -8,7 +8,7 @@ Besides that, doing the following is generally enough:
```sh
# Download the new release
su akkoma -s $SHELL -lc "./bin/pleroma_ctl update --branch develop"
su akkoma -s $SHELL -lc "./bin/pleroma_ctl update"
# Migrate the database, you are advised to stop the instance before doing that
su akkoma -s $SHELL -lc "./bin/pleroma_ctl migrate"

View File

@ -14,11 +14,11 @@ Example:
config :pleroma, :frontends,
primary: %{
"name" => "pleroma-fe",
"ref" => "develop"
"ref" => "stable"
},
admin: %{
"name" => "admin-fe",
"ref" => "develop"
"ref" => "stable"
}
```