From 34cf54ef23ed3eb1f7ca9be60b3aed2071065d78 Mon Sep 17 00:00:00 2001 From: rchou Date: Thu, 14 Aug 2025 01:40:56 +0800 Subject: [PATCH] new pipeline test [deploy] --- .gitea/workflows/pipeline.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index 6411a2e..6778ec9 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -6,18 +6,13 @@ on: jobs: deploy: - runs-on: ubuntu-latest + runs-on: alpine-rsync if: contains(gitea.event.head_commit.message, '[deploy]') steps: - name: Checkout uses: actions/checkout@v4 - - name: Install ssh + rsync - run: | - sudo apt-get update - sudo apt-get install -y openssh-client rsync - - name: Setup SSH env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} @@ -38,4 +33,3 @@ jobs: --omit-dir-times --mkpath \ -e "ssh -i ~/.ssh/id_ed25519 -p 22" \ "$RSYNC_SOURCE"/ "deploy@rchou.org:${SSH_TARGET_DIR}/" -