From d6a3bd55a720acfc7c30ecf8ad41d17c83152e82 Mon Sep 17 00:00:00 2001 From: redglow Date: Tue, 23 Jun 2026 15:07:46 +0200 Subject: [PATCH] ci: artifact => server --- .gitea/workflows/cicd.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/cicd.yaml b/.gitea/workflows/cicd.yaml index 487560c..18f5f75 100644 --- a/.gitea/workflows/cicd.yaml +++ b/.gitea/workflows/cicd.yaml @@ -40,7 +40,7 @@ jobs: uses: https://github.com/christopherHX/gitea-download-artifact@v4 with: name: artifact - path: artifact + path: server - name: Install rsync run: | apt-get update @@ -54,7 +54,7 @@ jobs: echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 # scp -r -P 44 artifact owofannouncements@foxthesystem.space:~/server - rsync -avzxh --delete -e 'ssh -p 44' artifact owofannouncements@foxthesystem.space:~/server + rsync -avzxh --delete -e 'ssh -p 44' artifact owofannouncements@foxthesystem.space:~ ssh -p 44 owofannouncements@foxthesystem.space "/bin/bash -c 'cd server ; yarn install --production=true'" env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}