10 lines
246 B
Bash
10 lines
246 B
Bash
|
#!/bin/sh
|
|||
|
TARGET="/opt/pleroma" # Where pleroma’s repository is sitting
|
|||
|
|
|||
|
yarn install -D
|
|||
|
|
|||
|
rm -rf dist/*
|
|||
|
npm run build
|
|||
|
|
|||
|
cp dist/index.html "${TARGET}/instance/static/index.html"
|
|||
|
rsync --delete -ra dist/static/ "${TARGET}/instance/static/static"
|