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