Skip to content

Commit 1d03a59

Browse files
committed
Single script for ci to easier execution on SemaphoreCI
1 parent 7b67112 commit 1d03a59

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"BigRedButton": "scripts/BigRedButton",
88
"build": "scripts/build",
9+
"ci": "scripts/ci",
910
"install": "scripts/install",
1011
"start": "scripts/start",
1112
"test": "scripts/test",

scripts/ci

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env sh
2+
3+
if [ "$SEMAPHORE_TRIGGER_SOURCE" = "scheduler" ]
4+
then
5+
npm run update
6+
else
7+
npm run BigRedButton
8+
fi

0 commit comments

Comments
 (0)