change deploy with timer
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
start=$SECONDS
|
||||||
|
|
||||||
input=".env"
|
input=".env"
|
||||||
while IFS= read -r line
|
while IFS= read -r line
|
||||||
do
|
do
|
||||||
@@ -97,3 +99,7 @@ elif [ "$1" = --help ]; then
|
|||||||
else
|
else
|
||||||
echo "Nothing"
|
echo "Nothing"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
duration=$(( SECONDS - start ))
|
||||||
|
|
||||||
|
echo "Déploiement terminé en $duration s"
|
||||||
|
|||||||
Reference in New Issue
Block a user