1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00

Just executable rights

This commit is contained in:
lapineige 2023-01-14 17:40:01 +01:00 committed by GitHub
parent 14b4aae7d3
commit 0d756b57e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -178,9 +178,9 @@ env_file="$final_path/.env"
export MIX_ENV=prod FLAVOUR=classic
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just config
ynh_exec_warn_less just config
# generate secrets
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just secrets
ynh_exec_warn_less just secrets
ynh_replace_string --match_string="HOSTNAME=localhost" --replace_string="HOSTNAME=$domain" --target_file="$env_file"
# TODO : mail service ?
@ -194,8 +194,8 @@ ynh_replace_string --match_string="" --replace_string="" --target_file="$env_fil
#=================================================
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc mix deps.get --only prod
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just js-deps-get
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just assets-prepare
ynh_exec_warn_less just js-deps-get
ynh_exec_warn_less just assets-prepare
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc mix phx.digest
# create an elexir release