s4s-editor-beta / ftp-upload.js
soiz1's picture
Update ftp-upload.js
a7ba3cc verified
raw
history blame
208 Bytes
console.log("uploadddddding")
const { execSync } = require("child_process");
const path = require("path");
const repoPath = path.join(__dirname, "dist");
execSync("upload.sh", { cwd: repoPath, shell: true });