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