mirror of
https://github.com/YunoHost-Apps/drupal_ynh.git
synced 2024-09-03 18:35:53 +02:00
github rate limit workaround
This commit is contained in:
parent
8715a53b1c
commit
c89fd73e64
1 changed files with 5 additions and 0 deletions
|
@ -156,6 +156,11 @@ export PATH="$final_path/vendor/bin:$PATH"
|
|||
#sudo -u $app env PATH=$PATH drush @$app.prod l10n-update-refresh
|
||||
#sudo -u $app env PATH=$PATH drush @$app.prod l10n-update
|
||||
|
||||
# Bypass composer issue and GitHub Rate Limit
|
||||
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||
sleep 3600
|
||||
fi
|
||||
|
||||
pushd "$final_path"
|
||||
update-alternatives --set php /usr/bin/php7.3
|
||||
sudo -u $app env PATH=$PATH drush @$app.prod state:set system.maintenance_mode 1 --input-format=integer
|
||||
|
|
Loading…
Add table
Reference in a new issue