mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-30 00:38:38 +00:00
Add systemd units, build & start production scripts to repo
This commit is contained in:
parent
0efb64cb36
commit
9486bde26c
7 changed files with 67 additions and 0 deletions
14
scripts-and-tools/build.sh
Normal file
14
scripts-and-tools/build.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Build script for production
|
||||
#
|
||||
# No arguments
|
||||
# Called manually
|
||||
|
||||
cd project-lighthouse || (echo "Source directory not found, pls clone properly~" && exit 1)
|
||||
|
||||
echo "Pulling latest changes..."
|
||||
git pull
|
||||
|
||||
echo "Building..."
|
||||
dotnet build -c Release
|
||||
|
||||
exit $? # Expose error code from build command
|
Loading…
Add table
Add a link
Reference in a new issue