This commit is contained in:
cjd
2025-11-04 21:09:16 +08:00
parent 8260e293c7
commit bb90a020dc
592 changed files with 61749 additions and 27 deletions

View File

@@ -0,0 +1,9 @@
find .PublishFiles/ -type f -and ! -path '*/wwwroot/images/*' ! -name 'appsettings.*' |xargs rm -rf
dotnet build;
rm -rf /home/DouyinApi/DouyinApi.Api/bin/Debug/.PublishFiles;
dotnet publish -o /home/DouyinApi/DouyinApi.Api/bin/Debug/.PublishFiles;
rm -rf /home/DouyinApi/DouyinApi.Api/bin/Debug/.PublishFiles/WMBlog.db;
# cp -r /home/DouyinApi/DouyinApi.Api/bin/Debug/.PublishFiles ./;
awk 'BEGIN { cmd="cp -ri /home/DouyinApi/DouyinApi.Api/bin/Debug/.PublishFiles ./"; print "n" |cmd; }'
echo "Successfully!!!! ^ please see the file .PublishFiles";