Skip to content

Document usage of custom working directory with custom config path #1991

@Robstei

Description

@Robstei

I found an issue with this document.

Title: Monorepo and multi-environment deployments
Location: https://fly.io/docs/launch/monorepo/
Source: https://github.com/superfly/docs/blob/main/launch/monorepo.html.md

Describe the issue

The page describes how to set the working directory and the config path but not how to combine them.

I assumed this would work

fly deploy  ./my-app  --config ./flyio/my-app.toml

But the path to the config needs to be relative from the build context.

So this is correct

fly deploy  ./my-app  --config ../flyio/my-app.toml

This could be specified so others don't have search for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions