pleroma-fe/ci/deploy.sh
Sam Therapy f2a07c7231
Some checks reported errors
continuous-integration/drone/push Build was killed
make deploy work properly
hehe haha kill me

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-20 19:35:16 +01:00

11 lines
600 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 --delete -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 --update -ra instance/ "${TARGET}/instance/static/instance"
#rsync --delete -ra pages/ "${TARGET}/instance/static/pages"