Skip to content

Commit

Permalink
feat: update build deployment code so works properly on newer OSX (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigboxer23 committed Jul 1, 2024
1 parent 21af755 commit 80d43d7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,15 @@
<phase>package</phase>
<configuration>
<target>
<scp file="${project.basedir}/target/meural-control-1.0.jar" keyfile="${user.home}/.ssh/id_rsa" passphrase="" todir="pi@${host}:/home/pi/com/bigboxer23/meural-control/1.0" trust="true"/>
<sshexec command="sudo systemctl restart meural.service" host="${host}" keyfile="${user.home}/.ssh/id_rsa" trust="true" username="pi"/>
<exec executable="scp">
<arg value="target/meural-control-1.0.jar"/>
<arg value="pi@${host}:/home/pi/com/bigboxer23/meural-control/1.0"/>
</exec>
<exec executable="ssh">
<arg value="-tt"/>
<arg value="pi@${host}"/>
<arg value="sudo systemctl restart meural.service"/>
</exec>
</target>
</configuration>
</execution>
Expand Down

0 comments on commit 80d43d7

Please sign in to comment.