Skip to content

Commit 8f098a9

Browse files
Fix CI/CD deployment by ensuring correct directory and pulling latest code before npm install
1 parent a64fd59 commit 8f098a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
key: ${{ secrets.SSH_PRIVATE_KEY }}
6161
port: 22
6262
script: |
63+
cd ~/CI-CD-Integration-IN-NodeJS
6364
npm install
6465
6566
- name: Restart the PM2 process

0 commit comments

Comments
 (0)