1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-12-23 09:27:03 +01:00
pleroma-fe/build.sh

16 lines
536 B
Bash
Raw Normal View History

#!/bin/zsh
2019-09-08 00:45:34 +02:00
TARGET="/opt/pleroma" # Where pleromas repository is sitting
yarn install -D
rm -rf dist/*
npm run build
2019-10-14 19:11:43 +02:00
rsync -ra public/ "${TARGET}/instance/static"
2019-09-08 00:45:34 +02:00
cp dist/index.html "${TARGET}/instance/static/index.html"
2019-09-24 17:30:05 +02:00
rsync --delete -ra dist/static/ "${TARGET}/instance/static/static"
rsync --delete -ra images/ "${TARGET}/instance/static/images"
2019-09-26 13:03:13 +02:00
rsync --delete -ra sounds/ "${TARGET}/instance/static/sounds"
rsync -ra instance/ "${TARGET}/instance/static/instance"
2020-04-02 20:23:12 +02:00
rsync --delete -ra pages/ "${TARGET}/instance/static/pages"