From 2010f84f01f8524dd85c6456f745ab84b2a7baa0 Mon Sep 17 00:00:00 2001 From: Matt Hinchliffe Date: Wed, 25 Jul 2018 14:34:39 +0100 Subject: [PATCH] Bump to Athloi with non dry-run publish, fix gh-pages ssh step --- package.json | 2 +- private/scripts/gh-pages | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1f14d37eb..df4887f1f 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "start-docs": "(cd tools/x-docs && npm start)" }, "devDependencies": { - "@financial-times/athloi": "^1.0.0-beta.2", + "@financial-times/athloi": "^1.0.0-beta.3", "@financial-times/secret-squirrel": "^2.10.1", "eslint": "^5.1.0", "eslint-config-prettier": "^2.9.0", diff --git a/private/scripts/gh-pages b/private/scripts/gh-pages index fc3690a77..fe6b25169 100755 --- a/private/scripts/gh-pages +++ b/private/scripts/gh-pages @@ -12,6 +12,7 @@ git config --global user.email $GITHUB_EMAIL git config --global user.name $GITHUB_NAME # HACK: Add GitHub to known hosts to avoid an interactive prompt when cloning over SSH +mkdir -p ~/.ssh ssh-keyscan -H github.com >> ~/.ssh/known_hosts # Clone only the branch we need so we don't download all of the project history