Github action "deploy" failed
SimonLab opened this issue Β· comments
I think the update to Phoenix 1.7 PR broke the deployment process, maybe missing files or configuration?
see https://github.com/dwyl/phoenix-chat-example/actions/runs/4114809002
Step 22/37 : COPY rel rel
Error failed to fetch an image or build from source: error building: error rendering build status stream: COPY failed: file not found in build context or excluded by .dockerignore: stat rel: file does not exist
Indeed the rel
folder has been removed on the PR https://github.com/dwyl/phoenix-chat-example/pull/152/files
Looking at how to recreate this folder and add to Github for the action to be able to run.
Trying to run flyctl deploy
to see if it can creates the folder:
@nelsonic would it be possible for me to have access to the Fly "phoenix-chat" application?
Still failing:
(UndefinedFunctionError) function Chat.Release.migrate/0 is undefined (module Chat.Release is not available)
https://github.com/dwyl/phoenix-chat-example/actions/runs/4115854000/jobs/7105174177#step:4:1356
Quick way to fix this is simply to rename the migration file.
Finally deployed!