feat: Add installation of dependencies step in deployment workflow
Some checks failed
Update Memento Dev on VPS / deploy (push) Failing after 11s
Some checks failed
Update Memento Dev on VPS / deploy (push) Failing after 11s
This commit is contained in:
parent
147d50fba2
commit
62375a2af1
@ -41,6 +41,16 @@ jobs:
|
|||||||
ssh -i ~/.ssh/id_ed25519 -p $VPS_PORT $VPS_USER@$VPS_HOST "sudo docker compose build"
|
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."
|
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
|
- name: Building the application
|
||||||
env:
|
env:
|
||||||
VPS_USER: ${{ secrets.VPS_USER }}
|
VPS_USER: ${{ secrets.VPS_USER }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user