From 71937f1cc425f9e64ab77d490543d7de50dbdaa8 Mon Sep 17 00:00:00 2001 From: CancerAi Date: Fri, 28 Aug 2026 16:08:07 +0800 Subject: [PATCH] deploy workflow test2 --- .gitea/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index c6c3f24..0d08934 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -8,7 +8,7 @@ jobs: Explore-Gitea-Actions: runs-on: runner steps: - - uses: gitea/actions/checkout@v4 + - uses: actions/checkout@v4 - name: Install rsync and ssh run: sudo apt update && sudo apt install -y rsync openssh-client - name: Configure ssh key @@ -20,6 +20,6 @@ jobs: chmod 600 ~/.ssh/private_key ssh-keyscan -p 2001 cancerai.top >> ~/.ssh/known_hosts - name: Push data to website server - run: rsync --delete -e "ssh -p 2001" ./ nginx@cancerai.top:www/owner/ + run: rsync --delete -e "ssh -i ~/.ssh/private_key -p 2001" ./ nginx@cancerai.top:www/owner/ - name: Clean key run: rm -rf ~/.ssh