Add strawboss CI configuration file.
This commit is contained in:
parent
a0a42ca13f
commit
c9cbda3664
21
strawboss.json
Normal file
21
strawboss.json
Normal file
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user