All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
build and deploy only on master added deploy frontend script added script for copying backendfolder to olberry build frontend now working build only for master added scripts Co-authored-by: Hawk <falk.ba@gmx.de> Reviewed-by: Oliver Boehlk <ollitobiasb@gmail.com>
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
|