Skip to content

Commit eb45172

Browse files
fix(ci): front build
1 parent 244431e commit eb45172

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ args = ["serve"]
2222
workspace = false
2323
script_runner = "@shell"
2424
script = '''
25-
rm -rf api/shuttle/static
25+
# shuttle issue with static files
26+
# location is different depending on the environment
27+
rm -rf api/shuttle/static static
2628
mkdir api/shuttle/static
29+
mkdir static
2730
cd front
2831
dioxus build --release
2932
# local development
30-
# shuttle issue with static files
31-
# location is different depending on the environment
3233
cp -r dist/* ../api/shuttle/static
3334
# production
3435
cp -r dist/* ../static

0 commit comments

Comments
 (0)