Add script to promote code to test server

This commit is contained in:
Chris Jean-Marie 2024-09-24 17:31:49 +00:00
parent 04c11a03c8
commit fa317acbbf
1 changed files with 3 additions and 0 deletions

3
backend/promote.sh Executable file
View File

@ -0,0 +1,3 @@
ssh chris@192.168.59.31 'pkill jean-marie'
scp target/release/jean-marie chris@192.168.59.31:/opt/jean-marie
ssh chris@192.168.59.31 'cd /opt/jean-marie && ./jean-marie&'