From 4c00d68c1c18fda9cb49577f7f3d41f5ccf7a0e2 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 25 Jul 2017 09:10:14 +0100 Subject: [PATCH] Force add asset files. Fixes #36 --- publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish.sh b/publish.sh index e9e62264..f9076aa7 100755 --- a/publish.sh +++ b/publish.sh @@ -25,7 +25,7 @@ touch output_${SITE_ENV}/.nojekyll # Add, commit and push the changes. mv output_${SITE_ENV}/* $BUILD_DIR pushd $BUILD_DIR -git add --all . +git add --all -f . git commit -m "Re-generate site: $SHA" git push $SSH_REPO $TARGET_BRANCH popd