build only for master

This commit is contained in:
2020-05-13 22:31:02 +02:00
parent 904e0fa57d
commit 682a4121d3

View File

@@ -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