Skip to content

Commit

Permalink
echo step message
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Feb 2, 2023
1 parent 2a0f0c3 commit 32c3863
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions build.gh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ WKDIR=`dirname $GITHUB_WORKSPACE`
mkdir -p $WKDIR
cd $WKDIR

# Download source code
###########################################

echo "Download source code"

if [ ! -d tdp-cloud ]; then
git clone https://github.com/tdp-resource/tdp-cloud.git
Expand All @@ -20,14 +22,18 @@ fi

chmod +x $WKDIR/*/build.sh

# Compile front-end components
###########################################

echo "Compile front-end components"

cd $WKDIR/tdp-cloud-ui
npm i && ./build.sh

cp -av $WKDIR/tdp-cloud-ui/build/* $WKDIR/tdp-cloud/front/

# Compile backend components
###########################################

echo "Compile backend components"

cd $WKDIR/tdp-cloud
go mod tidy && ./build.sh
Expand Down

0 comments on commit 32c3863

Please sign in to comment.