Updated ghpublish for CNAME

This commit is contained in:
Yann Esposito (Yogsototh) 2011-04-20 15:27:06 +02:00
parent a51b958cb9
commit c92cde47ff

View file

@ -29,9 +29,13 @@ mv output/index.html .
mv output/n3blog/* .
(( $? == 0 )) || { exit 1 }
\rm -rf output
git add .
(( $? == 0 )) || { exit 1 }
cp en/error/404-not_found/index.html 404.html
(( $? == 0 )) || { exit 1 }
echo "yannesposito.com" > CNAME
(( $? == 0 )) || { exit 1 }
git add .
(( $? == 0 )) || { exit 1 }
git commit -m 'updated website'
(( $? == 0 )) || { exit 1 }
git push