From 376932f8ada88135582d1808d9956946182ae1f0 Mon Sep 17 00:00:00 2001 From: Stefan <76208574+st-vi@users.noreply.github.com> Date: Wed, 22 Nov 2023 13:04:10 +0100 Subject: [PATCH] Update playground_deployment_prod.yml --- .github/workflows/playground_deployment_prod.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/playground_deployment_prod.yml b/.github/workflows/playground_deployment_prod.yml index e73585b..199413d 100644 --- a/.github/workflows/playground_deployment_prod.yml +++ b/.github/workflows/playground_deployment_prod.yml @@ -41,9 +41,9 @@ jobs: # Make sure to add the following command if dependencies change for the language server. It just takes forever # scp -r ./WebSocketClient/UVLPlayground/node_modules $USERNAME@$HOSTNAME:$WORKDIR/WebSocketClient/UVLPlayground run: | - scp -r ./WebSocketLanguageServer $USERNAME@$HOSTNAME:$WORKDIR - scp -r ./WebSocketClient $USERNAME@$HOSTNAME:$WORKDIR/WebSocketClient - scp -r ./docker-compose.yaml $USERNAME@$HOSTNAME:$WORKDIR - scp -r ./.env $USERNAME@$HOSTNAME:$WORKDIR + rsync -avz --update ./WebSocketLanguageServer $USERNAME@$HOSTNAME:$WORKDIR + rsync -avz --update ./WebSocketClient $USERNAME@$HOSTNAME:$WORKDIR + rsync -avz --update ./docker-compose.yaml $USERNAME@$HOSTNAME:$WORKDIR + rsync -avz --update ./.env $USERNAME@$HOSTNAME:$WORKDIR - name: Build and run containers run: ssh -i ~/.ssh/id_rsa $USERNAME@$HOSTNAME 'pwd && docker compose up --build -d'