From fd92aa067e53c379770bc3047c7c3c0fb8018783 Mon Sep 17 00:00:00 2001 From: Kerboul Date: Thu, 24 Apr 2025 00:27:36 +0200 Subject: [PATCH] =?UTF-8?q?Renommer=20le=20workflow=20en=20'SSH=20Backend?= =?UTF-8?q?=20Deploy'=20et=20mettre=20=C3=A0=20jour=20le=20script=20de=20d?= =?UTF-8?q?=C3=A9ploiement=20pour=20ex=C3=A9cuter=20'./deploy.sh'=20au=20l?= =?UTF-8?q?ieu=20d'un=20message=20d'accueil.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 22689de..da0603b 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: SSH Hello +name: SSH Backend Deploy on: push: @@ -6,7 +6,7 @@ on: - main jobs: - ssh-hello: + ssh-deploy: runs-on: ubuntu-latest steps: @@ -17,6 +17,6 @@ jobs: env: SSH_PRIVATE_KEY: ${{ vars.SSH_PRIVATE_KEY }} - - name: Run SSH Hello + - name: Run SSH Deploy Script run: | - ssh -i id_rsa -o StrictHostKeyChecking=no ${{ vars.SSH_USER }}@${{ vars.SSH_HOST }} "echo 'Hello from Gitea Action!'" + ssh -i id_rsa -o StrictHostKeyChecking=no ${{ vars.SSH_USER }}@${{ vars.SSH_HOST }} "cd /root/timelapse-backend && ./deploy.sh"