🔧 chore(workflows): Met à jour la version de PHP et ajuste les alternatives dans les scripts.

This commit is contained in:
Serreau Jovann
2026-01-27 09:30:12 +01:00
parent bce9930511
commit 03c620e107
2 changed files with 2 additions and 3 deletions

View File

@@ -32,4 +32,4 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /var/www/ludikevent-intranet && php bin/console app:maintenance on && git pull && sh ./update.sh && php bin/console app:maintenance off && php bin/console app:purge-cloudflare
cd /var/www/ludikevent-intranet && sudo update-alternatives --set php /usr/bin/php8.4 && php bin/console app:maintenance on && git pull && sh ./update.sh && php bin/console app:maintenance off && php bin/console app:purge-cloudflare && sudo update-alternatives --set php /usr/bin/php8.3

View File

@@ -4,7 +4,7 @@ ORANGE='\033[0;33m'
GREEN='\033[0;32m'
CYAN='\033[0;36m'
RESET='\033[0m' # Reset color to default
sudo update-alternatives --set php /usr/bin/php8.4
echo "${CYAN}####################################${RESET}"
echo "${CYAN}# LUDIKEVENT INTRANET UPDATE START #${RESET}"
@@ -13,4 +13,3 @@ ansible-playbook -i ansible/hosts.ini ansible/playbook.yml
echo "${CYAN}##############${RESET}"
echo "${CYAN}# END UPDATE #${RESET}"
echo "${CYAN}##############${RESET}"
sudo update-alternatives --set php /usr/bin/php8.3