Skip to content

Commit 70de7ab

Browse files
committed
Fix deploy script
1 parent 64a2300 commit 70de7ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎stubbornjava-webapp/deploy.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# Ideally it would keep versioned jars and symlink the current version for easy rollbacks
44
# Another option is to use AWS code build / deploy eventually
55
cd .. && gradle clean shadowJar &&
6-
ansible -i ansible/hosts stubbornjava -m copy -a "src=build/libs/stubbornjava-all.jar dest=~/" &&
7-
ansible -i ansible/hosts stubbornjava -m command -a "supervisorctl restart all"
6+
ansible -i ../stubbornjava/ansible/hosts stubbornjava -m copy -a "src=stubbornjava-webapp/build/libs/stubbornjava-all.jar dest=~/" &&
7+
ansible -i ../stubbornjava/ansible/hosts stubbornjava -m command -a "supervisorctl restart all"

0 commit comments

Comments
 (0)