From 23b1cdc40213439676832562738e5843e7451575 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 27 Nov 2017 20:06:14 -0700 Subject: [PATCH] don't copy template files (layouts, partials, and helpers) to published site --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7fdb96b..16a5c8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,10 @@ pages: policy: pull paths: - node_modules/ - script: node_modules/.bin/gulp build:preview + script: + - node_modules/.bin/gulp build:preview + # FIXME figure out a way to avoid copying these files to preview site + - rm -rf public/_/{helpers,layouts,partials} artifacts: paths: - public -- 2.11.0