nothing much
This commit is contained in:
9
html/deployWeb.sh
Executable file
9
html/deployWeb.sh
Executable 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
|
||||
Reference in New Issue
Block a user