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