From 5358a3309dc797498c1efd1f381ae880373f32c7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 25 Jul 2017 18:46:44 +0100 Subject: [PATCH] Maybe this can be removed now? --- publish.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/publish.sh b/publish.sh index 617917c9..c8a1768a 100755 --- a/publish.sh +++ b/publish.sh @@ -22,10 +22,7 @@ touch output_prod/.nojekyll # Add, commit and push the changes. mv output_prod/* $BUILD_DIR pushd $BUILD_DIR -echo "!/assets/css/ -!/assets/images/ -!/assets/js/" > .gitignore -git add --all -f . +git add -A . git commit -m "Re-generate site: `git rev-parse --verify HEAD`" git push $SSH_REPO master popd