fix deploy
This commit is contained in:
parent
06301b2212
commit
3d4a3a460a
|
@ -23,6 +23,10 @@ echo_headline () {
|
|||
echo
|
||||
}
|
||||
|
||||
cd ~/.emacs.d
|
||||
echo "Pwd $(pwd)"
|
||||
rm -rf ~/.emacs.d/.cache/ ~/.emacs.d/export/
|
||||
|
||||
if [ $TRAVIS_SECURE_ENV_VARS = true ]; then
|
||||
|
||||
hub_version="2.2.9"
|
||||
|
@ -40,8 +44,9 @@ if [ $TRAVIS_SECURE_ENV_VARS = true ]; then
|
|||
|
||||
echo "Publishing ${PUBLISH}"
|
||||
|
||||
echo_headline "INSTALLING DEPENDENCIES:"
|
||||
emacs -batch -l init.el
|
||||
echo_headline "EXPORTING DOCUMENTATION:"
|
||||
emacs -batch -l init.el > /dev/null 2>&1
|
||||
emacs -batch -l init.el -l core/core-documentation.el \
|
||||
-f spacemacs/publish-doc
|
||||
if [ $? -ne 0 ]; then
|
||||
|
|
|
@ -89,3 +89,5 @@ elif [ ! -z "$FORMAT" ]; then
|
|||
fi
|
||||
echo "Done."
|
||||
fi
|
||||
|
||||
rm -rf /tmp/*
|
||||
|
|
Loading…
Reference in a new issue