build only for master
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
|
||||
cd ./frontend
|
||||
|
||||
if test "$1" = "edit-jenkinsfile"
|
||||
if test "$1" = "master"
|
||||
then
|
||||
echo 'Install neccessary Packages'
|
||||
yarn install
|
||||
echo 'Build Frontend for Production'
|
||||
yarn run build
|
||||
else
|
||||
echo $1
|
||||
echo "Skipping for non-master branch"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user