I am new to Fly.io.
I connected to Fly using GitHub.
I have a project on GitHub: GitHub - arie5981/faq1: answer question for meyazgim
The first time I deployed it via https://meyazegim.fly.dev/
, it worked successfully.
However, every time I try to run “Start Deploy” again, I get the following error message:
"Uh oh, build failed
Your deployment failed, you might want to read the logs and check if there’s something you need to change in your repo or if you just need a new retry."
In the logs I see:
Warning: The OPENAI_API_KEY variable is not defined. Semantic search (Embeddings) will not work.
I defined the variable in secrets, but it is marked in yellow with the note:
“This secret is staged, but not deployed. Run fly deploy from a terminal.”
The log in the building image:
”Loading…
flyctl deploy --build-only --push -a meyazegim --image-label deployment-2020c754f5b272e6ae4954940619ac1e --config fly.toml
==> Verifying app config
Validating fly.toml
Service has no processes set but app has 1 processes defined; update fly.toml to set processes for each service
✘invalid app configuration
Error: App configuration is not valid
unsuccessful command ‘flyctl deploy --build-only --push -a meyazegim --image-label deployment-2020c754f5b272e6ae4954940619ac1e --config fly.toml’”
Do you have any idea how cam i fix the problem?
Thanks in advanced for your help