From 2f8e8ca37813810477405a5fe716b12d1cfbb684 Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Sat, 9 May 2020 14:02:14 +0200 Subject: [PATCH] change deploy with timer --- deploy.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deploy.sh b/deploy.sh index dcf3252..23c77cb 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,7 @@ #!/bin/bash +start=$SECONDS + input=".env" while IFS= read -r line do @@ -97,3 +99,7 @@ elif [ "$1" = --help ]; then else echo "Nothing" fi + +duration=$(( SECONDS - start )) + +echo "Déploiement terminé en $duration s"