From 021910df9de5e347b3377aa18a5f17c3e8371b42 Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Fri, 10 Apr 2026 17:39:14 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20d=C3=A9clencher=20le=20d=C3=A9ploiement?= =?UTF-8?q?=20sur=20push=20et=20externaliser=20DEPLOY=5FPATH?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/install-deps.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/install-deps.yml b/.gitea/workflows/install-deps.yml index cd0acbc..8866a37 100644 --- a/.gitea/workflows/install-deps.yml +++ b/.gitea/workflows/install-deps.yml @@ -16,8 +16,6 @@ permissions: jobs: deploy: name: 🚀 Deploy to Production - # Le job ne se lance que pour le cron ou manuellement, pas au push - if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: - name: Deploy with SSH @@ -28,4 +26,4 @@ jobs: key: ${{ secrets.SSH_PRIVATE_KEY }} port: 22 script: | - cd /var/www/ludikevent-intranet && sudo update-alternatives --set php /usr/bin/php8.4 && php bin/console app:maintenance on && git reset --hard HEAD && git pull origin master && sh ./update.sh && php bin/console app:maintenance off && php bin/console app:purge-cloudflare && sudo update-alternatives --set php /usr/bin/php8.3 + cd ${{ secrets.DEPLOY_PATH }} && sudo update-alternatives --set php /usr/bin/php8.4 && php bin/console app:maintenance on && git reset --hard HEAD && git pull origin master && sh ./update.sh && php bin/console app:maintenance off && php bin/console app:purge-cloudflare && sudo update-alternatives --set php /usr/bin/php8.3