pleroma-fe/ci/deploy.sh
Sam Therapy de51942ac7
All checks were successful
continuous-integration/drone/push Build is passing
deploy to a new location maybe
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-11-30 18:55:46 +01:00

12 lines
580 B
Bash
Executable file

#!/usr/bin/env bash
TARGET="pleroma@froth.zone:/opt/pleroma"
#rsync -ra public/ "${TARGET}/instance/static"
#cp dist/index.html "${TARGET}/instance/static/index.html"
rsync --update -Pr dist/ "${TARGET}/instance/static/frontends/pleroma-fe/froth"
rsync --update -ra dist/static/ "${TARGET}/instance/static/frontends/pleroma-fe/froth"
#rsync --delete -ra images/ "${TARGET}/instance/static/images"
#rsync --delete -ra sounds/ "${TARGET}/instance/static/sounds"
rsync -ra instance/ "${TARGET}/instance/static/instance"
#rsync --delete -ra pages/ "${TARGET}/instance/static/pages"