18 lines
344 B
YAML
18 lines
344 B
YAML
name: Deploy to School
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: host
|
|
steps:
|
|
- name: Install SSH client
|
|
run: apk add --no-cache openssh-client
|
|
|
|
- name: Deploy via SSH
|
|
run: |
|
|
ssh -o StrictHostKeyChecking=no Chewico@10.0.0.10 \
|
|
"cd /gits/School && git pull origin main"
|