# unable to setup git deploys with 'current working directory' + 'config path'

**URL:** <https://community.fly.io/t/unable-to-setup-git-deploys-with-current-working-directory-config-path/26327>\
**Category:** Build debugging\
**Tags:** elixir, launch-ui\
**Created:** [October 27, 2025, 9:59pm UTC](https://community.fly.io/t/unable-to-setup-git-deploys-with-current-working-directory-config-path/26327 "2025-10-27T21:59:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lethargicgeek\_cs](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/lethargicgeek_cs/32/43234_2.png) [@lethargicgeek\_cs](https://community.fly.io/u/lethargicgeek_cs)\
**Post date:** [October 27, 2025, 9:59pm UTC](https://community.fly.io/t/unable-to-setup-git-deploys-with-current-working-directory-config-path/26327/1 "2025-10-27T21:59:10Z")

</div>

Trying to setup “auto-deploy on push” but getting the message “Uh oh, build failed” when triggering from the dashboard.

- “Current Working Directory” is currently set to “phoenix\_app”

- “Config path” is set to “/phoenix\_app/flyio/fly.dev.toml”

- App code is in a nested directory of the git repo at /phoenix\_app

- Config file is at /phoenix\_app/flyio/fly.dev.toml

- Able to deploy via terminal using ‘fly deploy –config flyio/fly.dev.toml’ from the directory of my app: /phoenix\_app

- Logs from the dashboard do not indicate any build errors. The logs do work because I’m able to see regular logs generated from users accessing the deployed (via terminal) application

- Deployment failed between “Setup and pull from git repository” (green) and “Build image” (grey)
