We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd38057 commit c4f9b9fCopy full SHA for c4f9b9f
1 file changed
user/deploy.gs
@@ -1,8 +1,10 @@
1
function deploy() {
2
- const filesToCopy = ["lib_common", "lib_main", "lib_sett", "lib_types"];
+ const script_id = "my_template_script_id";
3
+ const updater = ScriptSync.assignTemplate(script_id);
4
+ const filesToCopy = ["my_code", "my_index", "my_json"];
5
6
for (let file of filesToCopy) {
- const res = ScriptSync.IO_AddNewFile(file);
- if (!res) break;
7
+ updater.AddNewFile(file);
8
}
9
+ updater.commit();
10
0 commit comments