Skip to content

update_code in sub-directory of release_path #3002

@stephan-strate

Description

@stephan-strate

I would like to be able to checkout the repositories code to a sub-directory of the release_path.

My goal is to create a zero-downtime recipe for Grav. The flat-file cms Grav is a little bit different to most other frameworks. The repository will only contain the sub-directory user/ with custom plugins, themes, configuration and so on (see Folder Structure). My idea is to use composer create-project (see Installation) in the release_path first and then clone the content into the sub-directory user/.

Proposal:
Create update_code_path variable, which defaults to release_path, but also makes it configurable for special use-cases.

What do you think?

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