Skip to content

Commit db6d862

Browse files
authored
Update README.md
1 parent c1641ed commit db6d862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Go to your repo → **Settings** → **Secrets and variables** → **Actions**
4848
| `SSH_USERNAME` | SSH user with access to the project directory |
4949
| `SSH_KEY` | Private SSH key (no passphrase) |
5050
| `SSH_PASSWORD` | SSH password with access to the project directory |
51-
| `PROJECT_PATH` | Absolute path of the Git project on the server |
51+
| `PROJECT_DIRECTORY` | Absolute path of the Git project on the server |
5252
| `RESTART_COMMAND` | Command to restart the service or PM2 app |
5353

5454
---
@@ -79,7 +79,7 @@ jobs:
7979
- name: Connect and Deploy
8080
run: |
8181
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }} << 'EOF'
82-
cd ${{ secrets.PROJECT_PATH }}
82+
cd ${{ secrets.PROJECT_DIRECTORY }}
8383
git fetch origin main
8484
git reset --hard origin/main
8585
git clean -fd

0 commit comments

Comments
 (0)