mirror of
https://github.com/maputnik/editor.git
synced 2026-04-17 15:00:15 +00:00
Code to store artifacts on circle ci
This commit is contained in:
@@ -6,8 +6,8 @@ function genPath(subPath) {
|
||||
subPath = subPath || ".";
|
||||
var buildPath;
|
||||
|
||||
if(process.env.CIRCLE_ARTIFACTS) {
|
||||
buildPath = path.join(process.env.CIRCLE_ARTIFACTS, subPath);
|
||||
if(process.env.CIRCLECI) {
|
||||
buildPath = path.join("/tmp/artifacts", subPath);
|
||||
}
|
||||
else {
|
||||
buildPath = path.join(__dirname, '..', 'build', subPath);
|
||||
|
||||
Reference in New Issue
Block a user