All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
14 lines
229 B
Bash
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
|