You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pleroma-fe-sjw/build.sh

16 lines
553 B

#!/bin/bash
TARGET="/opt/baest" # Where pleromas repository is sitting
yarn install -D
rm -rf dist/*
npm run build
rsync -ra public/ "${TARGET}/instance/static"
cp dist/index.html "${TARGET}/instance/static/index.html"
rsync --delete -ra dist/static/ "${TARGET}/instance/static/static"
rsync --delete -ra images/ "${TARGET}/instance/static/images"
5 years ago
rsync --delete -ra sounds/ "${TARGET}/instance/static/sounds"
rsync -ra instance/ "${TARGET}/instance/static/instance"
3 years ago
rsync --delete -ra static/favicon.png "${TARGET}/instance/static/favicon.png"