Files
dashboard/jenkins/buildFrontend.sh
Hawk db122f3af8
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
build and deploy only on master
2020-05-16 00:08:42 +02:00

14 lines
229 B
Bash

#!/usr/bin/env sh
cd ./frontend
if test "$1" = "master"
then
echo 'Install neccessary Packages'
yarn install
echo 'Build Frontend for Production'
yarn run build
else
echo "Skipping for non-master branch"
fi