diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 3ea66a6..65fa754 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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