Skip to content

Commit

Permalink
made sure statics folder exist before copying build
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed Jan 11, 2024
1 parent 9502302 commit b5a97fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/update_front.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,10 @@ npm install
# Run the build script
npm run build

# Make sure the statics folder exists
if [ ! -d "../back/src/whombat/statics" ]; then
mkdir ../back/src/whombat/statics
fi

# Move the static files to the backend
mv out/* ../back/src/whombat/statics/

0 comments on commit b5a97fe

Please sign in to comment.