don't copy template files (layouts, partials, and helpers) to published site
authorDan Allen <dan@opendevise.com>
Tue, 28 Nov 2017 03:06:14 +0000 (20:06 -0700)
committerDan Allen <dan@opendevise.com>
Tue, 28 Nov 2017 03:14:21 +0000 (20:14 -0700)
.gitlab-ci.yml

index 7fdb96b..16a5c8a 100644 (file)
@@ -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