diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-05-04 20:34:16 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-05-04 20:34:16 +0200 |
commit | 383f7b633471dedf515907cb8a8752bc5885ae64 (patch) | |
tree | 793225216c9c38be1533e1960166b7b3dd472890 /deploy.sh | |
parent | Dark theme, fancier room list (diff) | |
download | MatrixUtils-383f7b633471dedf515907cb8a8752bc5885ae64.tar.xz |
Add room manager, profile caching
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh index 853dee8..59d62c5 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,4 +1,10 @@ #!/bin/sh +BASE_DIR=`pwd` +rm -rf **/bin/Release cd MatrixRoomUtils.Web dotnet publish -c Release rsync -raP bin/Release/net7.0/publish/wwwroot/ rory.gay:/data/nginx/html_mru/ +cd bin/Release/net7.0/publish/wwwroot +tar cf - ./ | xz -z -9 - > $BASE_DIR/MRU.tar.xz +rsync -raP $BASE_DIR/MRU.tar.xz rory.gay:/data/nginx/html_mru/MRU.tar.xz +rm -rf $BASE_DIR/MRU.tar.xz |