From edf554a88ab247e6383fb2caf63d9cc1ff3905eb Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Thu, 21 Dec 2023 22:25:04 +0100 Subject: [PATCH] Fix Git-lfs --- manifest.toml | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index fd95580..426ae19 100644 --- a/manifest.toml +++ b/manifest.toml @@ -51,7 +51,7 @@ ram.runtime = "2G" main.default = 3020 [resources.apt] - packages = "ffmpeg, postgresql, build-essential, git-lfs" + packages = "ffmpeg, postgresql, build-essential, git, git-lfs" extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" diff --git a/scripts/install b/scripts/install index 08e3589..8c058f6 100755 --- a/scripts/install +++ b/scripts/install @@ -70,6 +70,7 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare --activate + git lfs install && git lfs pull ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production yarn build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run init