Skip to content

Commit

Permalink
Update playground_deployment_prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
st-vi authored Nov 22, 2023
1 parent 89825b1 commit 376932f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/playground_deployment_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 376932f

Please sign in to comment.