From 650c7fa8942404551cacd516e850dae033796b96 Mon Sep 17 00:00:00 2001 From: Maxime Delporte Date: Mon, 20 Oct 2025 14:49:28 +0200 Subject: [PATCH] Fixing CI. --- .gitea/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e814b54..7162058 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -25,17 +25,17 @@ jobs: - name: Deploy to server run: | # Dossier de déploiement - DEPLOY_PATH=/var/www/greenlight-api + DEPLOY_PATH=/var/www/greenlight # Crée le dossier s'il n'existe pas sudo mkdir -p $DEPLOY_PATH # Copie le binaire et éventuellement les assets - sudo cp ./bin/greenlight-api $DEPLOY_PATH/greenlight + sudo cp ./bin/greenlight-api $DEPLOY_PATH/greenlight-api # Donne les bons droits sudo chown -R www-data:www-data $DEPLOY_PATH - sudo chmod +x $DEPLOY_PATH/greenlight + sudo chmod +x $DEPLOY_PATH/greenlight-api # Redémarre le service systemd sudo systemctl restart greenlight-api.service \ No newline at end of file