feat: Add installation of dependencies step in deployment workflow
Some checks failed
Update Memento Dev on VPS / deploy (push) Failing after 11s

This commit is contained in:
Gauthier Daniels 2025-04-17 13:16:38 +02:00
parent 147d50fba2
commit 62375a2af1

View File

@ -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 }}