Verified Commit a758a403 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update deploy script (WIP-2)

parent 07b2c700
......@@ -54,7 +54,10 @@ if (commandLineOptions.deploy && childProcess.execSync('git status').toString().
const websitePath = path.resolve(path.join(__dirname, '..', '..', 'site'))
if (commandLineOptions.deploy && !fs.existsSync(websitePath)) {
console.log('❌ Error: No local working copy of Site.js web site found. Skipped deploy. Please clone https://small-tech.org/site.js/site to ${websitePath} and ensure you have commit permissions on the repository before attempting to deploy.\n')
console.log('❌ Error: No local working copy of Site.js web site found.')
console.log(`Please clone https://small-tech.org/site.js/site to ${websitePath}`)
console.log('(and ensure you have commit permissions on the repository)')
console.log('before attempting to deploy.\n')
process.exit(1)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment