From 8cbb537506b3700fa2cdd5a947ac89fc73250cfa Mon Sep 17 00:00:00 2001 From: Chewico Date: Tue, 2 Sep 2025 23:11:46 +0200 Subject: [PATCH] Workpls --- .gitea/workflows/deploy.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 1a31ad1..11f6e41 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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"