Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep files to remote server #162

Open
laurentmuller opened this issue Mar 3, 2023 · 0 comments
Open

Keep files to remote server #162

laurentmuller opened this issue Mar 3, 2023 · 0 comments

Comments

@laurentmuller
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant