Переглянути джерело

TRAVIS: fix update-gh-pages.sh

tags/0.7.5
Julian Ospald 7 роки тому
джерело
коміт
21668f12fe
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: 511B62C09D50CD28
1 змінених файлів з 2 додано та 2 видалено
  1. +2
    -2
      update-gh-pages.sh

+ 2
- 2
update-gh-pages.sh Переглянути файл

@@ -22,13 +22,13 @@ git clone --branch=${TARGET_BRANCH} ${REPO} ${TARGET_BRANCH} || exit 1
# docs
cd ${TARGET_BRANCH} || exit 1
echo "Removing old docs."
rm -rf .
rm -rf *
echo "Adding new docs."
cp -rf "${TRAVIS_BUILD_DIR}${DOC_LOCATION}"/* . || exit 1

# If there are no changes to the compiled out (e.g. this is a README update)
# then just bail.
if [ -z `git diff --exit-code` ]; then
if [ -z "`git diff --exit-code`" ]; then
echo "No changes to the output on this push; exiting."
exit 0
fi


Завантаження…
Відмінити
Зберегти