habitica: ensure config is available before build

This commit is contained in:
CanbiZ 2025-07-24 14:32:39 +02:00
parent c9015cca20
commit ed934a21ff

View File

@ -29,9 +29,10 @@ msg_info "Setup ${APPLICATION}"
cd /opt/habitica
$STD npm i
$STD npm run postinstall
cp config.json.example config.json
$STD npm run client:build
$STD gulp build:prod
cp config.json.example config.json
msg_ok "Setup ${APPLICATION}"
msg_info "Creating Service"