dwyl / phoenix-chat-example

πŸ’¬ The Step-by-Step Beginners Tutorial for Building, Testing & Deploying a Chat app in Phoenix 1.7 [Latest] πŸš€

Home Page:https://phoenix-chat.fly.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github action "deploy" failed

SimonLab opened this issue Β· comments

commented

image

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

commented

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

image

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:
image

@nelsonic would it be possible for me to have access to the Fly "phoenix-chat" application?

commented

Running mix release.init:
image

However the files created are different from the ones deleted in the PR.
I'm going to copy the deleted file and add them back, hopefully this will fix the deployment issue.

commented

Thanks @SimonLab I was literally just opening this exact issue ... πŸ˜‰

commented

Should be fixed by #155 🀞

commented

Still failing:

(UndefinedFunctionError) function Chat.Release.migrate/0 is undefined (module Chat.Release is not available)

commented

PR: #157 assigned to @SimonLab πŸ‘Œ

commented

Finally deployed!

commented

Nice one. thanks @SimonLab πŸ™Œ