This commit is contained in:
Your Name 2021-11-03 21:08:27 -06:00
parent 8b635f1083
commit 90f9a82c29

View File

@ -3,6 +3,7 @@ export SHELL="/bin/bash"
cd /opt
unzip pleroma.zip
mv /opt/release /opt/pleroma
chown -R pleroma /opt/pleroma
mkdir -p /var/lib/pleroma/uploads
mkdir -p /var/lib/pleroma/static
@ -33,7 +34,6 @@ su pleroma -s $SHELL -lc "/opt/pleroma/bin/pleroma daemon"
#curl https://gitlab.com/`curl https://gitlab.com/soapbox-pub/soapbox-fe/-/jobs | grep 'build-production' | cut -d "\"" -f4 | head -1`/artifacts/download -o soapbox-fe.zip
#curl -L https://gitlab.com/soapbox-pub/soapbox-fe/-/jobs/1734223607/artifacts/download -o soapbox-fe.zip
busybox unzip /tmp/soapbox-fe.zip -o -d /var/lib/pleroma/
mv /opt/release /opt/pleroma
mv /var/lib/pleroma/static/instance/about.example /var/lib/pleroma/static/instance/about
cp -f /tmp//terms-of-service.html /var/lib/pleroma/static/instance/about/tos.html
cp -f /tmp/terms-of-service.html /var/lib/pleroma/static/instance/about/index.html