From c92a0eb95ad35e167e68cb7fc494d5bac44548d0 Mon Sep 17 00:00:00 2001 From: uap31-r Date: Wed, 20 Oct 2021 09:31:14 +0200 Subject: [PATCH] script deploiement --- prod/script | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 prod/script diff --git a/prod/script b/prod/script new file mode 100755 index 0000000..45dfc64 --- /dev/null +++ b/prod/script @@ -0,0 +1,7 @@ +#!/bin/bash +set -o nounset +DATH=$(date "+%X") +DATJ=$(date "+%u") + +scp /home/thomas.millot/NetBeansProjects/AP31-Pojet1/proj/AP31-Projet1.war root@10.121.38.97:/usr/libexec/tomcat10/webapps +scp /home/thomas.millot/NetBeansProjects/AP31-Pojet1/proj/AP31-Projet1.war root@10.121.38.97:/root/svwar/"${DATH}"