Skip to content

Commit

Permalink
Add "mvn install" to start script
Browse files Browse the repository at this point in the history
When calling this script it should also build.
This is good for automatic deployment.

Resolves e.g. #2000 (comment).
  • Loading branch information
dr0i committed Jun 3, 2024
1 parent c38ba53 commit 0bbc01b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/monit_restart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ETL_TOKEN=$(cat scripts/.secrets/ETL_TOKEN)

case $ACTION in
start)
cd ..; mvn clean install -DskipTests=true; cd -
if [ -f target/universal/stage/RUNNING_PID ]; then
kill $(cat target/universal/stage/RUNNING_PID)
rm target/universal/stage/RUNNING_PID
Expand Down

0 comments on commit 0bbc01b

Please sign in to comment.