1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/iceshrimp_ynh.git synced 2024-09-03 19:15:54 +02:00

Fix Git-lfs

This commit is contained in:
oufmilo 2023-12-21 22:25:04 +01:00
parent 7f5accad5a
commit edf554a88a
2 changed files with 2 additions and 1 deletions

View file

@ -51,7 +51,7 @@ ram.runtime = "2G"
main.default = 3020 main.default = 3020
[resources.apt] [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.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"

View file

@ -70,6 +70,7 @@ pushd "$install_dir"
ynh_use_nodejs ynh_use_nodejs
corepack enable corepack enable
corepack prepare --activate 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 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 NODE_ENV=production yarn build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run init ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run init