This commit is contained in:
parent
b588c67a24
commit
497f56d7e3
@ -8,10 +8,8 @@ jobs:
|
||||
deploy:
|
||||
runs-on: host
|
||||
steps:
|
||||
- name: Install SSH client
|
||||
run: apk add --no-cache openssh-client
|
||||
|
||||
- name: Deploy via SSH with password
|
||||
run: |
|
||||
apk add --no-cache openssh-client sshpass
|
||||
sshpass -p "8426" ssh -o StrictHostKeyChecking=no user@main-server \
|
||||
"cd /gits/School && git pull origin main"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user