Files
dashboard/jenkins/buildFrontend.sh
falk 9cf15fee59
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
edit-jenkinsfile (#71)
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>
2020-05-16 00:23:12 +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