nothing much

This commit is contained in:
2025-06-03 20:10:46 +03:00
parent 5c053e78a7
commit 62af69055d
6 changed files with 30 additions and 20 deletions

9
html/deployWeb.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
TARGET_FOLDER="shatteredPixelDungeon"
# shellcheck disable=SC2029
if ssh vps "[[ -d /var/www/$TARGET_FOLDER ]]"; then
ssh vps "find /var/www/$TARGET_FOLDER -mindepth 1 -delete"
scp -r ../release/webapp/* vps:/var/www/$TARGET_FOLDER
fi