forked from ReiMerc/skantravels
Add database migrations to release script
This commit is contained in:
parent
098e797d90
commit
1ba6d82c0a
@ -1,5 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
dotnet publish -r linux-arm64 -p:PublishSingleFile=true --self-contained false
|
dotnet publish -r linux-arm64 -p:PublishSingleFile=true --self-contained false
|
||||||
rsync -vu bin/Release/net8.0/linux-arm64/publish/* reimar@reim.ar:/home/reimar/skantravels
|
dotnet ef migrations bundle --self-contained -r linux-arm64 --force
|
||||||
|
|
||||||
|
rsync -va bin/Release/net8.0/linux-arm64/publish/* reimar@reim.ar:/home/reimar/skantravels
|
||||||
|
rsync -va efbundle reimar@reim.ar:/home/reimar/skantravels
|
||||||
|
|
||||||
ssh -t reimar@reim.ar "systemctl restart skantravels"
|
ssh -t reimar@reim.ar "systemctl restart skantravels"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user