elegant-vr-7778
02/07/2023, 10:57 PMagreeable-painting-48846
02/07/2023, 10:59 PMagreeable-painting-48846
02/07/2023, 11:00 PMelegant-vr-7778
02/07/2023, 11:20 PMERROR {error="Run error: Custom error: failed to provision shuttle_static_folder :: StaticFolder"} shuttle_deployer::deployment::run: service startup encountered an error
Can I prevent this?agreeable-painting-48846
02/07/2023, 11:23 PMelegant-vr-7778
02/07/2023, 11:57 PM.
βββ backend
βββ frontend
βββ public
Makefile
.PHONY: deploy
deploy:
cp -r ../frontend/public ./
git add public/ && git commit -m 'add public to deploy static.'
-@cargo shuttle deploy
git reset --hard HEAD^
If is there a better solution, please tell me.
because I think that this ad-hoc Makefile is dangerous.kind-area-3810
02/08/2023, 8:08 AMcargo shuttle deploy --allow-dirty, then ignore it again?elegant-vr-7778
02/08/2023, 9:18 AMaloof-microphone-15693
02/16/2023, 6:40 AM