Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit bd4d4dd

Browse files
committed
build/deploy.js: do not deploy other branches than development and master (remove temp test)
1 parent 6929c57 commit bd4d4dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build/deploy.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ getBranchName().then(
7272
pkg.dir = 'development';
7373
} else {
7474
// For any other branch than 'master' or 'developmment', do not deploy
75-
// return Promise.reject('Branch not deployed');
76-
// TEMP FOR TESTING BRANCH
77-
pkg.dir = 'development';
75+
return Promise.reject('Branch not deployed');
7876
}
7977

8078
return Promise.resolve();

0 commit comments

Comments
 (0)