fix: hard link environment variable (#20467)

On docker based deploys symlinking inside volume doesn't work.

[skip ci]
This commit is contained in:
Ankush Menat 2023-03-27 15:58:43 +05:30 committed by GitHub
parent 86f7219525
commit f089e9108e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,11 @@ EXTRA_ARGS_CTX = {"ignore_unknown_options": True, "allow_extra_args": True}
@click.option("--app", help="Build assets for app")
@click.option("--apps", help="Build assets for specific apps")
@click.option(
"--hard-link", is_flag=True, default=False, help="Copy the files instead of symlinking"
"--hard-link",
is_flag=True,
default=False,
help="Copy the files instead of symlinking",
envvar="FRAPPE_HARD_LINK_ASSETS",
)
@click.option(
"--make-copy",