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