fix: update shell wrapper usage to include argument for remote execution
This commit is contained in:
parent
6f6f64807e
commit
5ca29a1899
3 changed files with 26 additions and 22 deletions
4
.github/workflows/example.yml
vendored
4
.github/workflows/example.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
ssh-user: ${{ secrets.SSH_USER }}
|
||||
|
||||
- name: Check system info
|
||||
shell: ssh-remote
|
||||
shell: ssh-remote {0}
|
||||
run: |
|
||||
echo "=== System Information ==="
|
||||
whoami
|
||||
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
pwd
|
||||
|
||||
- name: Run deployment script
|
||||
shell: ssh-remote
|
||||
shell: ssh-remote {0}
|
||||
run: |
|
||||
echo "=== Starting Deployment ==="
|
||||
cd /var/www || cd ~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue