From 79f22f77804c9627c75253fa86f4b308e709d54d Mon Sep 17 00:00:00 2001 From: Stefan <76208574+st-vi@users.noreply.github.com> Date: Wed, 18 Oct 2023 15:50:52 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2e52b18..c7769ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,11 +24,11 @@ jobs: node-version: 18 cache: 'npm' cache-dependency-path: WebSocketClient/UVLPlayground/package-lock.json - - name: switch to client directory - run: cd WebSocketClient/UVLPlayground - name: Install dependencies + working-directory: WebSocketClient/UVLPlayground run: npm install - name: Build + working-directory: WebSocketClient/UVLPlayground run: npm run build - name: Install SSH key run: | @@ -40,7 +40,7 @@ jobs: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - name: Copy directory to remote server run: | - scp -r ./dist/ ubuntu@$HOSTNAME:/home/ubuntu/WebSocketClient + scp -r .WebSocketClient/UVLPlayground/dist/ ubuntu@$HOSTNAME:/home/ubuntu/WebSocketClient - name: Copy deployment script to remote server run: | cd ../..