diff options
Diffstat (limited to 'publish.sh')
-rwxr-xr-x | publish.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2,5 +2,12 @@ source ~/.virtualenvs/pelican3.5/bin/activate cd ~/pelican/ make publish + +find output -name '*.html' -print0 | xargs -0 grep "{filename}" +if [ $? -eq 0 ]; then + echo Lien cassé dans les fichiers listés ci dessus. + exit 1 +fi + rsync -ra --del -e ssh output/ goku:/home/www/blog-chimrod/ rsync -ra --del -e ssh output/ vps71296:/srv/apache/blog-chimrod/ |