Updated .git-ci
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
b495fd7f65
commit
181d93082c
@ -33,7 +33,7 @@ deploy_production:
|
|||||||
- echo "Deploying to server"
|
- echo "Deploying to server"
|
||||||
- ssh backend@wmi-backend-gc.plannaplan.pl -t "sudo systemctl stop plannaplan-backend"
|
- ssh backend@wmi-backend-gc.plannaplan.pl -t "sudo systemctl stop plannaplan-backend"
|
||||||
- ssh backend@wmi-backend-gc.plannaplan.pl -t "rm -rf /opt/plannaplan-backend/backend.jar"
|
- ssh backend@wmi-backend-gc.plannaplan.pl -t "rm -rf /opt/plannaplan-backend/backend.jar"
|
||||||
- rsync --progress target/*.jar backend@wmi-backend-gc.plannaplan.pl:/opt/plannaplan-backend/backend.jar
|
- rsync --progress restservice/target/*.jar backend@wmi-backend-gc.plannaplan.pl:/opt/plannaplan-backend/backend.jar
|
||||||
- sleep 5
|
- sleep 5
|
||||||
- ssh backend@wmi-backend-gc.plannaplan.pl -t "sudo systemctl start plannaplan-backend"
|
- ssh backend@wmi-backend-gc.plannaplan.pl -t "sudo systemctl start plannaplan-backend"
|
||||||
- echo "Deployed"
|
- echo "Deployed"
|
||||||
|
Loading…
Reference in New Issue
Block a user