change deploy with timer

This commit is contained in:
2020-05-09 14:02:14 +02:00
parent afae67c7ef
commit 2f8e8ca378

View File

@@ -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"