Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
st-vi authored Oct 18, 2023
1 parent 9415864 commit 79f22f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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 ../..
Expand Down

0 comments on commit 79f22f7

Please sign in to comment.