1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/woodpecker_ynh.git synced 2024-09-03 20:35:57 +02:00

Update change_url

This commit is contained in:
OniriCorpe 2024-01-28 01:30:15 +01:00 committed by GitHub
parent f6c09a2562
commit bf3d8e1cbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,6 +31,7 @@ ynh_change_url_nginx_config
ynh_script_progression --message="Updating configuration file..." --weight=1 ynh_script_progression --message="Updating configuration file..." --weight=1
path_no_trailing_slash=${path%/} path_no_trailing_slash=${path%/}
_woodpecker_set_forge_config
ynh_add_config --template="woodpecker-server.conf" --destination="$install_dir/woodpecker-server.conf" ynh_add_config --template="woodpecker-server.conf" --destination="$install_dir/woodpecker-server.conf"
chmod 400 "$install_dir/woodpecker-server.conf" chmod 400 "$install_dir/woodpecker-server.conf"