NewGaoKaoApi/New_College.Publish.Linux.sh

6 lines
262 B
Bash

git pull;
rm -rf .PublishFiles;
dotnet build;
dotnet publish -o /home/New_College/New_College.Api/bin/Debug/netcoreapp3.1;
cp -r /home/New_College/New_College.Api/bin/Debug/netcoreapp3.1 .PublishFiles;
echo "Successfully!!!! ^ please see the file .PublishFiles";