Skip to content

Keep files to remote server #162

@laurentmuller

Description

@laurentmuller

I use this tool to deploy a Symfony 6.x.x application to a remote server. It will be fine if some files or directories cannot be synced or deleted.

For example, when I deploy my application, I should always copy the specific .env.local file to the remote server with an after job.

after[] = upload /deploy/.env.local .env.local

Maybe we can use the same format as to ignore entry but with a new name like the example below:

; files and directories to keep in remote server
keep = "
    .env.local
    /data
    ...
"

This entry will take precedence over the ignore entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions