From 25e0aab57c230f5722b40fab75d42dc8f593913e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 25 Jul 2017 02:28:24 +0100 Subject: [PATCH] Revert "Try not cloning again, fetch beforehand" This reverts commit d0f3e14932f94963cefd1955281669a84302b288. --- publish.sh | 5 +---- source/index.md | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/publish.sh b/publish.sh index e8854ceff..e9e622648 100755 --- a/publish.sh +++ b/publish.sh @@ -11,11 +11,8 @@ TARGET_BRANCH="master" BUILD_DIR=".build" # Prepare the build directory. -# git clone $REPO $BUILD_DIR -mkdir -p $BUILD_DIR -cp -R .git $BUILD_DIR +git clone $REPO $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 3412c857e..96565b966 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 4 +test 3 {% endblock %} [1]: https://www.google.com/#q=opdavies