Skip to content

Commit 244431e

Browse files
fix(ci): add ignore to allow statics to be deployed
1 parent 2fbe883 commit 244431e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!static/

Makefile.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ rm -rf api/shuttle/static
2626
mkdir api/shuttle/static
2727
cd front
2828
dioxus build --release
29+
# local development
30+
# shuttle issue with static files
31+
# location is different depending on the environment
2932
cp -r dist/* ../api/shuttle/static
33+
# production
34+
cp -r dist/* ../static
3035
'''
3136

3237
# local db

0 commit comments

Comments
 (0)