diff --git a/tasks/ghpublish b/tasks/ghpublish index f64089be6..f4bc7244c 100755 --- a/tasks/ghpublish +++ b/tasks/ghpublish @@ -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