From 697d8b3b783cee4e16f168264cda0733dc73a245 Mon Sep 17 00:00:00 2001 From: Marco Bonelli Date: Tue, 2 Apr 2019 20:37:53 +0200 Subject: [PATCH] deploy: use top-level index.json --- scripts/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index a876a5008..bd56115fc 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -33,14 +33,14 @@ function rebuild_index { function build_archive { rm -f $TLDR_ARCHIVE cd $TLDRHOME/ - zip -r $TLDR_ARCHIVE pages*/ LICENSE.md + zip -r $TLDR_ARCHIVE pages*/ LICENSE.md index.json echo "Pages archive created." } function upload_assets { git clone --quiet --depth 1 git@github.com:${SITE_REPO_SLUG}.git $SITE_HOME mv -f $TLDR_ARCHIVE $SITE_HOME/assets/ - cp -f $TLDRHOME/pages/index.json $SITE_HOME/assets/ + cp -f $TLDRHOME/index.json $SITE_HOME/assets/ cd $SITE_HOME git add -A