diff --git a/helpers/index.ts b/helpers/index.ts
index 79ba8dc0438ff13ec6173499f59f1ac77f67a686..fe57ac5c1bf8fc4dee72a1053a96e31bd19e32dc 100644
--- a/helpers/index.ts
+++ b/helpers/index.ts
@@ -138,7 +138,10 @@ export const installTemplate = async (
 
     if (props.dataSources.length > 0) {
       console.log("\nGenerating context data...\n");
-      await copyContextData(props.root, props.dataSources);
+      await copyContextData(
+        props.root,
+        props.dataSources.filter((ds) => ds.type === "file"),
+      );
       if (
         props.postInstallAction === "runApp" ||
         props.postInstallAction === "dependencies"