From c9cbda3664fe9b6882c485362ed036c78df5d53c Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Fri, 17 Feb 2017 15:30:30 -0600 Subject: [PATCH] Add strawboss CI configuration file. --- strawboss.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 strawboss.json diff --git a/strawboss.json b/strawboss.json new file mode 100644 index 0000000..efdff88 --- /dev/null +++ b/strawboss.json @@ -0,0 +1,21 @@ +{ + "name": "new-life-intro-band", + "steps": { + "build": { + "workingDir": "website", + "expectedEnv": ["VERSION"], + "artifacts": ["nlib-web-$VERSION.zip"], + "cmdInput": [ + "nim c -r make_site", + "(cd rendered && zip -r ../nlib-web-$VERSION.zip *)" + ] + }, + "deploy": { + "depends": "build", + "expectedEnv": ["VERSION"], + "cmdInput": [ + "netlify deploy -s newlifeintoband -p $build/nlib-web-$VERSION.zip" + ] + } + } +}