This commit is contained in:
parent
e16dd4a9a3
commit
64d983750f
@ -8,8 +8,12 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: host
|
runs-on: host
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy via SSH with password
|
- name: Install git on Alpine runner
|
||||||
run: |
|
run: |
|
||||||
apk add --no-cache openssh-client sshpass
|
apk update
|
||||||
sshpass -p "8426" ssh -o StrictHostKeyChecking=no chewico@10.0.0.10 \
|
apk add git
|
||||||
"cd /gits/School && git pull origin main"
|
|
||||||
|
- name: Update School repo
|
||||||
|
run: |
|
||||||
|
cd /git/School
|
||||||
|
git pull origin main
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user