Skip to content

Commit

Permalink
fix(ci): front build
Browse files Browse the repository at this point in the history
  • Loading branch information
robertohuertasm committed Jun 25, 2023
1 parent 244431e commit eb45172
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ args = ["serve"]
workspace = false
script_runner = "@shell"
script = '''
rm -rf api/shuttle/static
# shuttle issue with static files
# location is different depending on the environment
rm -rf api/shuttle/static static
mkdir api/shuttle/static
mkdir static
cd front
dioxus build --release
# local development
# shuttle issue with static files
# location is different depending on the environment
cp -r dist/* ../api/shuttle/static
# production
cp -r dist/* ../static
Expand Down

0 comments on commit eb45172

Please sign in to comment.