Commit a990426c5f4114c85f6cfc190276786ef5c49521

Anthony Green 2022-09-03T07:09:33

Use scp instead of rsync

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fb0a501..4a8fc18 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -112,15 +112,15 @@ jobs:
             ls -l
             pwd
 
-      - name: copy files for remote Aarch64 server
-        uses: burnett01/rsync-deployments@5.2.1
+      - name: Copy source to remote server
+        uses: appleboy/scp-action@v0.1.5
         with:
-          switches: -avzr
-          path: .
-          remote_path: actions/
-          remote_host: ${{ secrets.AARCH_HOST }}
-          remote_user: ${{ secrets.CFARM_USERNAME }}
-          remote_key: ${{ secrets.CFARM_KEY }}
+          host: ${{ secrets.AARCH_HOST }}
+          username: ${{ secrets.CFARM_USERNAME }}
+          key: ${{ secrets.CFARM_KEY }}
+          port: ${{ secrets.AARCH_PORT }}
+          source: "*"
+          target: "actions"
 
       - name: SSH Remote Commands
         uses: appleboy/ssh-action@v0.1.5