6 lines
446 B
Bash
6 lines
446 B
Bash
#!/bin/sh
|
|
rm -rf static/frontends/pleroma-fe
|
|
FRONTEND_LINK=`curl -sS https://git.pleroma.social/pleroma/pleroma-fe/-/jobs/artifacts/develop/download?job=build | grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | sed -e 's/^<a href=["'"'"']//i' -e 's/["'"'"']$//i'`
|
|
echo "The download link for pleroma-fe is:"
|
|
echo "${FRONTEND_LINK}"
|
|
docker exec -it pl_web sh ./bin/pleroma_ctl frontend install pleroma-fe --ref develop --build-url "${FRONTEND_LINK}" |