* Logs moins verbeux, + support config env var ASPNET_LOG_LEVEL * [REFACT/FS] Valid chars + [FIX] inclut maintenant le tiret (`-`) et `=` * scripts de déployement : timings des `sleep` plus sûrs * [HAIRCUT] les commandes de teintes (de la part du client) * index admin des coiffeurs * Maj de ma Home page * Mise en forme * [FIX] suppression de la reference externe aux scripts de ajax.aspnetcdn.com, pour un chargement sans Internet des pages.
24 lines
403 B
Bash
Executable File
24 lines
403 B
Bash
Executable File
#!/bin/bash
|
|
|
|
FSPATH=/srv/www/yavscpre
|
|
|
|
ssh root@localhost rm -rf $FSPATH/approot/src
|
|
|
|
(
|
|
set -e
|
|
cd bin/output/
|
|
rsync -ravu wwwroot approot root@localhost:$FSPATH
|
|
|
|
sleep 5
|
|
ssh root@localhost service kestrel restart
|
|
)
|
|
|
|
sleep 15
|
|
echo "Now, go and try <https://yavscpre.pschneider.fr>"
|
|
# wait a little, for the processes to become stable
|
|
sleep 15
|
|
echo "Then, feel free to launch contrib/rsync-to-prod.sh"
|
|
|
|
|
|
|