From 62375a2af1a97a7fa9f483ea7701d6209759c5a5 Mon Sep 17 00:00:00 2001 From: GauthierWebDev Date: Thu, 17 Apr 2025 13:16:38 +0200 Subject: [PATCH] feat: Add installation of dependencies step in deployment workflow --- .gitea/workflows/deploy.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index b124e10..1bd6116 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -41,6 +41,16 @@ jobs: ssh -i ~/.ssh/id_ed25519 -p $VPS_PORT $VPS_USER@$VPS_HOST "sudo docker compose build" echo "📦 The services have been builded on the VPS." + - name: Installing the dependencies + env: + VPS_USER: ${{ secrets.VPS_USER }} + VPS_HOST: ${{ secrets.VPS_HOST }} + VPS_PATH: ${{ secrets.VPS_PATH }} + VPS_PORT: ${{ secrets.VPS_PORT }} + run: | + ssh -i ~/.ssh/id_ed25519 -p $VPS_PORT $VPS_USER@$VPS_HOST "sudo docker compose run --rm memento-dev install" + echo "📦 The dependencies has been installed." + - name: Building the application env: VPS_USER: ${{ secrets.VPS_USER }}