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:
parent
7f5accad5a
commit
edf554a88a
2 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue