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