diff --git a/publish.sh b/publish.sh index e9e62264..e8854cef 100755 --- a/publish.sh +++ b/publish.sh @@ -11,8 +11,11 @@ TARGET_BRANCH="master" BUILD_DIR=".build" # Prepare the build directory. -git clone $REPO $BUILD_DIR +# git clone $REPO $BUILD_DIR +mkdir -p $BUILD_DIR +cp -R .git $BUILD_DIR pushd $BUILD_DIR +git fetch git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH popd rm -rf ${BUILD_DIR}/**/* || exit 0 diff --git a/source/index.md b/source/index.md index 96565b96..3412c857 100644 --- a/source/index.md +++ b/source/index.md @@ -48,7 +48,7 @@ I’m a webmaster and documentation maintainer for [Drupal.org][42], and a provi - [Disqus][38] - IRC (freenode) - {{ site.irc.name }} -test 3 +test 4 {% endblock %} [1]: https://www.google.com/#q=opdavies