Skip to content
Snippets Groups Projects
Verified Commit 41184432 authored by Nick Sellen's avatar Nick Sellen
Browse files

Add build script

So it can be used for initial deploys or manual builds.
Otherwise it only builds via the incoming webhook.
parent 766150b7
No related branches found
No related tags found
No related merge requests found
build.js 0 → 100644
'use strict';
const metalsmith = require('./metalsmith.js');
const loggers = require('./lib/logging.js').loggers;
const buildlog = loggers.build;
buildlog.info('starting build...')
metalsmith().build(function(err) {
if (err)
buildlog.error('build exception', err);
})
buildlog.info('completed build.')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment