Use Cinny instead of Element as the web client
This commit is contained in:
parent
bcc89b042e
commit
eb87bc6db0
5 changed files with 25 additions and 288 deletions
|
@ -10,19 +10,21 @@ steps:
|
|||
- apt update
|
||||
- apt install -y wget
|
||||
# Download and extract
|
||||
# renovate: datasource=github-releases depName=element-hq/element-web versioning=semver-coerced
|
||||
- export ELEMENT_VERSION=v1.11.89
|
||||
- wget -O element.tar.gz https://github.com/element-hq/element-web/releases/download/$ELEMENT_VERSION/element-$ELEMENT_VERSION.tar.gz
|
||||
# renovate: datasource=github-releases depName=cinnyapp/cinny versioning=semver-coerced
|
||||
- export CINNY_VERSION=v4.2.3
|
||||
- wget -O cinny.tar.gz https://github.com/cinnyapp/cinny/releases/download/$CINNY_VERSION/cinny-$CINNY_VERSION.tar.gz
|
||||
- mkdir payload
|
||||
- tar -xzf element.tar.gz --directory payload --strip-components 1
|
||||
- tar -xzf cinny.tar.gz --directory payload --strip-components 1
|
||||
# Copy customizsations
|
||||
- cp customization/config.json payload/
|
||||
- cp customization/logo.png payload/welcome/images/
|
||||
- cp customization/background.jpg payload/welcome/images/
|
||||
|
||||
publish:
|
||||
image: minio/mc
|
||||
secrets: [ access_key, secret_key ]
|
||||
commands:
|
||||
- mc alias set minio https://s3.infra.bluemedia.dev $ACCESS_KEY $SECRET_KEY
|
||||
- mc mirror --overwrite --remove payload/ minio/chatwire-element/
|
||||
- mc mirror --overwrite --remove payload/ minio/chatwire-web/
|
||||
environment:
|
||||
ACCESS_KEY:
|
||||
from_secret: access_key
|
||||
SECRET_KEY:
|
||||
from_secret: secret_key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue